commit | f7d1893f5b24c811b3c02de94047cf79487b6677 | [log] [tgz] |
---|---|---|
author | Adrian McCarthy <amccarth@google.com> | Fri Nov 20 23:09:11 2015 +0000 |
committer | Adrian McCarthy <amccarth@google.com> | Fri Nov 20 23:09:11 2015 +0000 |
tree | b37e6203c2cb8f9ccf34aeda2b565383855f3a1a | |
parent | a1f61fe841b7a830a6a4249b5bcea1030409cae4 [diff] [blame] |
Enable saving of mini dumps with lldb process save-core. Also adds SB API to save a core and tests that use it. Differential Revision: http://reviews.llvm.org/D14793 llvm-svn: 253734
diff --git a/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.h b/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.h index 1c7fefc..fd33cd3 100644 --- a/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.h +++ b/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.h
@@ -95,6 +95,11 @@ lldb_private::ModuleSpecList &specs); static bool + SaveCore (const lldb::ProcessSP &process_sp, + const lldb_private::FileSpec &outfile, + lldb_private::Error &error); + + static bool MagicBytesMatch (lldb::DataBufferSP& data_sp); bool