summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectBugreport.h
diff options
context:
space:
mode:
authorTamas Berghammer <tberghammer@google.com>2015-07-02 10:03:37 +0000
committerTamas Berghammer <tberghammer@google.com>2015-07-02 10:03:37 +0000
commit3937bc650cad69cbd607ca3ea64ea6623808fc19 (patch)
tree685bc7f3f945e796a3196adeefb7fdf2278f905f /lldb/source/Commands/CommandObjectBugreport.h
parent1023668bc2d625e7bb5c3ee776175d4e031b6e97 (diff)
downloadbcm5719-llvm-3937bc650cad69cbd607ca3ea64ea6623808fc19.tar.gz
bcm5719-llvm-3937bc650cad69cbd607ca3ea64ea6623808fc19.zip
Add new bugreport command to lldb
The new command add functionality to print out domain specific information for reporting a bug. Currently the only supported domain is stack unwinding (with "bugreport unwind") but adding new domains is fairly easy. Differential revision: http://reviews.llvm.org/D10868 llvm-svn: 241252
Diffstat (limited to 'lldb/source/Commands/CommandObjectBugreport.h')
-rw-r--r--lldb/source/Commands/CommandObjectBugreport.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/lldb/source/Commands/CommandObjectBugreport.h b/lldb/source/Commands/CommandObjectBugreport.h
new file mode 100644
index 00000000000..d062e0d7937
--- /dev/null
+++ b/lldb/source/Commands/CommandObjectBugreport.h
@@ -0,0 +1,36 @@
+//===-- CommandObjectBugreport.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_CommandObjectBugreport_h_
+#define liblldb_CommandObjectBugreport_h_
+
+// C Includes
+// C++ Includes
+// Other libraries and framework includes
+// Project includes
+#include "lldb/Interpreter/CommandObjectMultiword.h"
+
+namespace lldb_private {
+
+//-------------------------------------------------------------------------
+// CommandObjectMultiwordBugreport
+//-------------------------------------------------------------------------
+
+class CommandObjectMultiwordBugreport : public CommandObjectMultiword
+{
+public:
+ CommandObjectMultiwordBugreport(CommandInterpreter &interpreter);
+
+ virtual
+ ~CommandObjectMultiwordBugreport();
+};
+
+} // namespace lldb_private
+
+#endif // liblldb_CommandObjectBugreport_h_
OpenPOWER on IntegriCloud