1 //===-- SBInstructionList.h -------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLDB_SBInstructionList_h_
11 #define LLDB_SBInstructionList_h_
13 #include "lldb/API/SBDefines.h"
19 class LLDB_API SBInstructionList {
23 SBInstructionList(const SBInstructionList &rhs);
25 const SBInstructionList &operator=(const SBInstructionList &rhs);
33 lldb::SBInstruction GetInstructionAtIndex(uint32_t idx);
37 void AppendInstruction(lldb::SBInstruction inst);
39 void Print(FILE *out);
41 bool GetDescription(lldb::SBStream &description);
43 bool DumpEmulationForAllInstructions(const char *triple);
46 friend class SBFunction;
47 friend class SBSymbol;
48 friend class SBTarget;
50 void SetDisassembler(const lldb::DisassemblerSP &opaque_sp);
53 lldb::DisassemblerSP m_opaque_sp;
58 #endif // LLDB_SBInstructionList_h_