LLDB mainline
|
#include <SBInstructionList.h>
Public Member Functions | |
SBInstructionList () | |
SBInstructionList (const SBInstructionList &rhs) | |
const SBInstructionList & | operator= (const SBInstructionList &rhs) |
~SBInstructionList () | |
operator bool () const | |
bool | IsValid () const |
size_t | GetSize () |
lldb::SBInstruction | GetInstructionAtIndex (uint32_t idx) |
size_t | GetInstructionsCount (const SBAddress &start, const SBAddress &end, bool canSetBreakpoint=false) |
void | Clear () |
void | AppendInstruction (lldb::SBInstruction inst) |
void | Print (FILE *out) |
void | Print (SBFile out) |
void | Print (FileSP BORROWED) |
bool | GetDescription (lldb::SBStream &description) |
bool | DumpEmulationForAllInstructions (const char *triple) |
Protected Member Functions | |
void | SetDisassembler (const lldb::DisassemblerSP &opaque_sp) |
bool | GetDescription (lldb_private::Stream &description) |
Private Attributes | |
lldb::DisassemblerSP | m_opaque_sp |
Friends | |
class | SBFunction |
class | SBSymbol |
class | SBTarget |
Definition at line 18 of file SBInstructionList.h.
SBInstructionList::SBInstructionList | ( | ) |
Definition at line 24 of file SBInstructionList.cpp.
References LLDB_INSTRUMENT_VA.
SBInstructionList::SBInstructionList | ( | const SBInstructionList & | rhs | ) |
Definition at line 26 of file SBInstructionList.cpp.
References LLDB_INSTRUMENT_VA.
|
default |
void SBInstructionList::AppendInstruction | ( | lldb::SBInstruction | inst | ) |
Definition at line 104 of file SBInstructionList.cpp.
References LLDB_INSTRUMENT_VA.
void SBInstructionList::Clear | ( | ) |
Definition at line 98 of file SBInstructionList.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
bool SBInstructionList::DumpEmulationForAllInstructions | ( | const char * | triple | ) |
Definition at line 179 of file SBInstructionList.cpp.
References GetInstructionAtIndex(), GetSize(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
bool SBInstructionList::GetDescription | ( | lldb::SBStream & | description | ) |
Definition at line 136 of file SBInstructionList.cpp.
References GetDescription(), LLDB_INSTRUMENT_VA, and lldb::SBStream::ref().
Referenced by GetDescription(), and Print().
|
protected |
Definition at line 141 of file SBInstructionList.cpp.
References lldb_private::Instruction::Dump(), lldb_private::Stream::EOL(), lldb_private::Instruction::GetAddress(), lldb_private::Address::GetModule(), GetSize(), m_opaque_sp, and lldb_private::FormatEntity::Parse().
SBInstruction SBInstructionList::GetInstructionAtIndex | ( | uint32_t | idx | ) |
Definition at line 60 of file SBInstructionList.cpp.
References GetSize(), LLDB_INSTRUMENT_VA, m_opaque_sp, and lldb::SBInstruction::SetOpaque().
Referenced by DumpEmulationForAllInstructions(), and GetInstructionsCount().
size_t SBInstructionList::GetInstructionsCount | ( | const SBAddress & | start, |
const SBAddress & | end, | ||
bool | canSetBreakpoint = false |
||
) |
Definition at line 71 of file SBInstructionList.cpp.
References lldb::SBInstruction::CanSetBreakpoint(), lldb::SBInstruction::GetAddress(), GetInstructionAtIndex(), GetSize(), and LLDB_INSTRUMENT_VA.
size_t SBInstructionList::GetSize | ( | ) |
Definition at line 52 of file SBInstructionList.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by DumpEmulationForAllInstructions(), GetDescription(), GetInstructionAtIndex(), and GetInstructionsCount().
bool SBInstructionList::IsValid | ( | ) | const |
Definition at line 42 of file SBInstructionList.cpp.
References LLDB_INSTRUMENT_VA.
|
explicit |
Definition at line 46 of file SBInstructionList.cpp.
References LLDB_INSTRUMENT_VA.
const SBInstructionList & SBInstructionList::operator= | ( | const SBInstructionList & | rhs | ) |
Definition at line 31 of file SBInstructionList.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
void SBInstructionList::Print | ( | FILE * | out | ) |
Definition at line 112 of file SBInstructionList.cpp.
References GetDescription(), and LLDB_INSTRUMENT_VA.
void SBInstructionList::Print | ( | FileSP | BORROWED | ) |
Definition at line 128 of file SBInstructionList.cpp.
References GetDescription(), and LLDB_INSTRUMENT_VA.
void SBInstructionList::Print | ( | SBFile | out | ) |
Definition at line 120 of file SBInstructionList.cpp.
References GetDescription(), lldb::SBFile::IsValid(), LLDB_INSTRUMENT_VA, and lldb::SBFile::m_opaque_sp.
|
protected |
Definition at line 108 of file SBInstructionList.cpp.
References m_opaque_sp.
Referenced by lldb::SBFunction::GetInstructions(), lldb::SBSymbol::GetInstructions(), lldb::SBTarget::GetInstructionsWithFlavor(), and lldb::SBTarget::ReadInstructions().
|
friend |
Definition at line 60 of file SBInstructionList.h.
|
friend |
Definition at line 61 of file SBInstructionList.h.
|
friend |
Definition at line 62 of file SBInstructionList.h.
|
private |
Definition at line 69 of file SBInstructionList.h.
Referenced by Clear(), DumpEmulationForAllInstructions(), GetDescription(), GetInstructionAtIndex(), GetSize(), operator=(), and SetDisassembler().