LLDB API Documentation

- Main Page
- Namespaces
- Classes
- Files

- File List

SBInstructionList.h
Go to the documentation of this file.
1 //===-- SBInstructionList.h -------------------------------------*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #ifndef LLDB_SBInstructionList_h_
11 #define LLDB_SBInstructionList_h_
12
13 #include "lldb/API/SBDefines.h"
14
15 #include <stdio.h>
16
17 namespace lldb {
18
19 class LLDB_API SBInstructionList {
20 public:
21 SBInstructionList();
22
23 SBInstructionList(const SBInstructionList &rhs);
24
25 const SBInstructionList &operator=(const SBInstructionList &rhs);
26
27 ~SBInstructionList();
28
29 bool IsValid() const;
30
31 size_t GetSize();
32
33 lldb::SBInstruction GetInstructionAtIndex(uint32_t idx);
34
35 void Clear();
36
37 void AppendInstruction(lldb::SBInstruction inst);
38
39 void Print(FILE *out);
40
41 bool GetDescription(lldb::SBStream &description);
42
43 bool DumpEmulationForAllInstructions(const char *triple);
44
45 protected:
46 friend class SBFunction;
47 friend class SBSymbol;
48 friend class SBTarget;
49
50 void SetDisassembler(const lldb::DisassemblerSP &opaque_sp);
51
52 private:
53 lldb::DisassemblerSP m_opaque_sp;
54 };
55
56 } // namespace lldb
57
58 #endif // LLDB_SBInstructionList_h_
SBDefines.h
lldb::SBSymbol
Definition: SBSymbol.h:20
lldb::SBInstruction
Definition: SBInstruction.h:26
lldb::SBInstructionList
class LLDB_API SBInstructionList
Definition: SBDefines.h:57
lldb::SBFunction
Definition: SBFunction.h:19
lldb::SBInstructionList
Definition: SBInstructionList.h:19
lldb::SBStream
Definition: SBStream.h:19
lldb::SBTarget
Definition: SBTarget.h:34