summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ObjectFile/PECOFF/WindowsMiniDump.h
diff options
context:
space:
mode:
authorAdrian McCarthy <amccarth@google.com>2015-11-20 23:09:11 +0000
committerAdrian McCarthy <amccarth@google.com>2015-11-20 23:09:11 +0000
commitf7d1893f5b24c811b3c02de94047cf79487b6677 (patch)
treeb37e6203c2cb8f9ccf34aeda2b565383855f3a1a /lldb/source/Plugins/ObjectFile/PECOFF/WindowsMiniDump.h
parenta1f61fe841b7a830a6a4249b5bcea1030409cae4 (diff)
downloadbcm5719-llvm-f7d1893f5b24c811b3c02de94047cf79487b6677.tar.gz
bcm5719-llvm-f7d1893f5b24c811b3c02de94047cf79487b6677.zip
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
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/PECOFF/WindowsMiniDump.h')
-rw-r--r--lldb/source/Plugins/ObjectFile/PECOFF/WindowsMiniDump.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/lldb/source/Plugins/ObjectFile/PECOFF/WindowsMiniDump.h b/lldb/source/Plugins/ObjectFile/PECOFF/WindowsMiniDump.h
new file mode 100644
index 00000000000..cbea88af1fb
--- /dev/null
+++ b/lldb/source/Plugins/ObjectFile/PECOFF/WindowsMiniDump.h
@@ -0,0 +1,24 @@
+//===-- WindowsMiniDump.h ---------------------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef liblldb_WindowsMiniDump_h_
+#define liblldb_WindowsMiniDump_h_
+
+#include "lldb/Target/Process.h"
+
+namespace lldb_private {
+
+bool
+SaveMiniDump(const lldb::ProcessSP &process_sp,
+ const lldb_private::FileSpec &outfile,
+ lldb_private::Error &error);
+
+} // namespace lldb_private
+
+#endif
OpenPOWER on IntegriCloud