summaryrefslogtreecommitdiffstats
path: root/lldb/include/lldb/API/SBInstruction.h
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/include/lldb/API/SBInstruction.h')
-rw-r--r--lldb/include/lldb/API/SBInstruction.h57
1 files changed, 57 insertions, 0 deletions
diff --git a/lldb/include/lldb/API/SBInstruction.h b/lldb/include/lldb/API/SBInstruction.h
new file mode 100644
index 00000000000..256b1c017b8
--- /dev/null
+++ b/lldb/include/lldb/API/SBInstruction.h
@@ -0,0 +1,57 @@
+//===-- SBInstruction.h -----------------------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLDB_SBInstruction_h_
+#define LLDB_SBInstruction_h_
+
+#include <LLDB/SBDefines.h>
+
+// There's a lot to be fixed here, but need to wait for underlying insn implementation
+// to be revised & settle down first.
+
+//class lldb_private::Disassembler::Instruction;
+
+namespace lldb {
+
+class SBInstruction
+{
+public:
+
+ //SBInstruction (lldb_private::Disassembler::Instruction *lldb_insn);
+
+ SBInstruction ();
+
+ ~SBInstruction ();
+
+ //bool
+ //IsValid();
+
+ //size_t
+ //GetByteSize ();
+
+ //void
+ //SetByteSize (size_t byte_size);
+
+ //bool
+ //DoesBranch ();
+
+ void
+ Print (FILE *out);
+
+private:
+
+ //lldb_private::Disassembler::Instruction::SharedPtr m_lldb_object_sp;
+
+
+};
+
+
+} // namespace lldb
+
+#endif // LLDB_SBInstruction_h_
OpenPOWER on IntegriCloud