|
LLDB mainline
|
#include <SBInstruction.h>
Protected Member Functions | |
| SBInstruction (const lldb::DisassemblerSP &disasm_sp, const lldb::InstructionSP &inst_sp) | |
| void | SetOpaque (const lldb::DisassemblerSP &disasm_sp, const lldb::InstructionSP &inst_sp) |
| lldb::InstructionSP | GetOpaque () |
Private Attributes | |
| std::shared_ptr< InstructionImpl > | m_opaque_sp |
Friends | |
| class | SBInstructionList |
Definition at line 24 of file SBInstruction.h.
| SBInstruction::SBInstruction | ( | ) |
Definition at line 70 of file SBInstruction.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by operator=(), SBInstruction(), and SBInstructionList.
| SBInstruction::SBInstruction | ( | const SBInstruction & | rhs | ) |
Definition at line 76 of file SBInstruction.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_sp, and SBInstruction().
|
default |
|
protected |
Definition at line 72 of file SBInstruction.cpp.
References m_opaque_sp.
| bool SBInstruction::CanSetBreakpoint | ( | ) |
Definition at line 229 of file SBInstruction.cpp.
References GetOpaque(), and LLDB_INSTRUMENT_VA.
Referenced by lldb::SBInstructionList::GetInstructionsCount(), and ~SBInstruction().
| bool SBInstruction::DoesBranch | ( | ) |
Definition at line 211 of file SBInstruction.cpp.
References GetOpaque(), and LLDB_INSTRUMENT_VA.
Referenced by ~SBInstruction().
| bool SBInstruction::DumpEmulation | ( | const char * | triple | ) |
Definition at line 331 of file SBInstruction.cpp.
References GetOpaque(), and LLDB_INSTRUMENT_VA.
Referenced by ~SBInstruction().
| bool SBInstruction::EmulateWithFrame | ( | lldb::SBFrame & | frame, |
| uint32_t | evaluate_options ) |
Definition at line 306 of file SBInstruction.cpp.
References lldb_private::Target::GetArchitecture(), lldb::SBFrame::GetFrameSP(), GetOpaque(), lldb_private::ExecutionContext::GetTargetPtr(), LLDB_INSTRUMENT_VA, lldb_private::EmulateInstruction::ReadMemoryFrame(), lldb_private::EmulateInstruction::ReadRegisterFrame(), lldb_private::EmulateInstruction::WriteMemoryFrame(), and lldb_private::EmulateInstruction::WriteRegisterFrame().
Referenced by ~SBInstruction().
| SBAddress SBInstruction::GetAddress | ( | ) |
Definition at line 101 of file SBInstruction.cpp.
References GetOpaque(), LLDB_INSTRUMENT_VA, and lldb::SBAddress::SetAddress().
Referenced by lldb::SBInstructionList::GetInstructionsCount(), and ~SBInstruction().
| size_t SBInstruction::GetByteSize | ( | ) |
Definition at line 188 of file SBInstruction.cpp.
References GetOpaque(), and LLDB_INSTRUMENT_VA.
Referenced by ~SBInstruction().
| const char * SBInstruction::GetComment | ( | lldb::SBTarget | target | ) |
Definition at line 149 of file SBInstruction.cpp.
References lldb_private::ConstString::GetCString(), GetOpaque(), lldb::SBTarget::GetSP(), LLDB_INSTRUMENT_VA, and lldb_private::ExecutionContext::SetProcessSP().
Referenced by ~SBInstruction().
| lldb::InstructionControlFlowKind SBInstruction::GetControlFlowKind | ( | lldb::SBTarget | target | ) |
Definition at line 169 of file SBInstruction.cpp.
References lldb::eInstructionControlFlowKindUnknown, GetOpaque(), lldb::SBTarget::GetSP(), LLDB_INSTRUMENT_VA, and lldb_private::ExecutionContext::SetProcessSP().
Referenced by ~SBInstruction().
| SBData SBInstruction::GetData | ( | lldb::SBTarget | target | ) |
Definition at line 197 of file SBInstruction.cpp.
References GetOpaque(), LLDB_INSTRUMENT_VA, and lldb::SBData::SetOpaque().
Referenced by ~SBInstruction().
| bool SBInstruction::GetDescription | ( | lldb::SBStream & | description | ) |
Definition at line 250 of file SBInstruction.cpp.
References lldb_private::Address::GetModule(), GetOpaque(), LLDB_INSTRUMENT_VA, lldb_private::FormatEntity::Parse(), and lldb::SBStream::ref().
Referenced by ~SBInstruction().
| const char * SBInstruction::GetMnemonic | ( | lldb::SBTarget | target | ) |
Definition at line 111 of file SBInstruction.cpp.
References lldb_private::ConstString::GetCString(), GetOpaque(), lldb::SBTarget::GetSP(), LLDB_INSTRUMENT_VA, and lldb_private::ExecutionContext::SetProcessSP().
Referenced by ~SBInstruction().
|
protected |
Definition at line 238 of file SBInstruction.cpp.
References m_opaque_sp.
Referenced by CanSetBreakpoint(), DoesBranch(), DumpEmulation(), EmulateWithFrame(), GetAddress(), GetByteSize(), GetComment(), GetControlFlowKind(), GetData(), GetDescription(), GetMnemonic(), GetOperands(), HasDelaySlot(), Print(), SBInstructionList, and TestEmulation().
| const char * SBInstruction::GetOperands | ( | lldb::SBTarget | target | ) |
Definition at line 130 of file SBInstruction.cpp.
References lldb_private::ConstString::GetCString(), GetOpaque(), lldb::SBTarget::GetSP(), LLDB_INSTRUMENT_VA, and lldb_private::ExecutionContext::SetProcessSP().
Referenced by ~SBInstruction().
| SBStructuredData SBInstruction::GetVariableAnnotations | ( | ) |
Get variable annotations for this instruction as structured data.
Returns an array of dictionaries, each containing:
Definition at line 355 of file SBInstruction.cpp.
References LLDB_INSTRUMENT_VA, lldb::SBStructuredData::m_impl_up, and m_opaque_sp.
Referenced by ~SBInstruction().
| bool SBInstruction::HasDelaySlot | ( | ) |
Definition at line 220 of file SBInstruction.cpp.
References GetOpaque(), and LLDB_INSTRUMENT_VA.
Referenced by ~SBInstruction().
| bool SBInstruction::IsValid | ( | ) |
Definition at line 91 of file SBInstruction.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by ~SBInstruction().
|
explicit |
Definition at line 95 of file SBInstruction.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
| const SBInstruction & SBInstruction::operator= | ( | const SBInstruction & | rhs | ) |
Definition at line 81 of file SBInstruction.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_sp, and SBInstruction().
| void SBInstruction::Print | ( | FILE * | out | ) |
Definition at line 272 of file SBInstruction.cpp.
References lldb_private::File::eOpenOptionWriteOnly, LLDB_INSTRUMENT_VA, and Print().
Referenced by Print(), Print(), and ~SBInstruction().
| void SBInstruction::Print | ( | FileSP | BORROWED | ) |
Definition at line 284 of file SBInstruction.cpp.
References lldb_private::Address::GetModule(), GetOpaque(), LLDB_INSTRUMENT_VA, and lldb_private::FormatEntity::Parse().
| void SBInstruction::Print | ( | SBFile | out | ) |
Definition at line 279 of file SBInstruction.cpp.
References LLDB_INSTRUMENT_VA, lldb::SBFile::m_opaque_sp, and Print().
|
protected |
Definition at line 245 of file SBInstruction.cpp.
References m_opaque_sp.
Referenced by lldb::SBInstructionList::GetInstructionAtIndex(), SBInstructionList, and TestEmulation().
| bool SBInstruction::TestEmulation | ( | lldb::SBStream & | output_stream, |
| const char * | test_file ) |
Definition at line 341 of file SBInstruction.cpp.
References GetOpaque(), LLDB_INSTRUMENT_VA, m_opaque_sp, lldb::SBStream::ref(), and SetOpaque().
Referenced by ~SBInstruction().
|
friend |
Definition at line 93 of file SBInstruction.h.
References GetOpaque(), SBInstruction(), SBInstructionList, and SetOpaque().
Referenced by SBInstructionList.
|
private |
Definition at line 104 of file SBInstruction.h.
Referenced by GetOpaque(), GetVariableAnnotations(), operator bool(), operator=(), SBInstruction(), SBInstruction(), SetOpaque(), and TestEmulation().