LLDB mainline
|
#include <SBAddress.h>
Public Member Functions | |
SBAddress () | |
SBAddress (const lldb::SBAddress &rhs) | |
SBAddress (lldb::SBSection section, lldb::addr_t offset) | |
SBAddress (lldb::addr_t load_addr, lldb::SBTarget &target) | |
~SBAddress () | |
const lldb::SBAddress & | operator= (const lldb::SBAddress &rhs) |
operator bool () const | |
bool | operator!= (const SBAddress &rhs) const |
bool | IsValid () const |
void | Clear () |
addr_t | GetFileAddress () const |
addr_t | GetLoadAddress (const lldb::SBTarget &target) const |
void | SetAddress (lldb::SBSection section, lldb::addr_t offset) |
void | SetLoadAddress (lldb::addr_t load_addr, lldb::SBTarget &target) |
bool | OffsetAddress (addr_t offset) |
bool | GetDescription (lldb::SBStream &description) |
lldb::SBSymbolContext | GetSymbolContext (uint32_t resolve_scope) |
lldb::SBSection | GetSection () |
lldb::addr_t | GetOffset () |
lldb::SBModule | GetModule () |
lldb::SBCompileUnit | GetCompileUnit () |
lldb::SBFunction | GetFunction () |
lldb::SBBlock | GetBlock () |
lldb::SBSymbol | GetSymbol () |
lldb::SBLineEntry | GetLineEntry () |
Protected Member Functions | |
lldb_private::Address * | operator-> () |
const lldb_private::Address * | operator-> () const |
lldb_private::Address * | get () |
lldb_private::Address & | ref () |
const lldb_private::Address & | ref () const |
SBAddress (const lldb_private::Address &address) | |
void | SetAddress (const lldb_private::Address &address) |
Private Attributes | |
std::unique_ptr< lldb_private::Address > | m_opaque_up |
Friends | |
class | SBAddressRange |
class | SBBlock |
class | SBBreakpoint |
class | SBBreakpointLocation |
class | SBFrame |
class | SBFunction |
class | SBLineEntry |
class | SBInstruction |
class | SBModule |
class | SBSection |
class | SBSymbol |
class | SBSymbolContext |
class | SBTarget |
class | SBThread |
class | SBThreadPlan |
class | SBValue |
class | SBQueueItem |
bool LLDB_API | operator== (const SBAddress &lhs, const SBAddress &rhs) |
Definition at line 17 of file SBAddress.h.
SBAddress::SBAddress | ( | ) |
Definition at line 24 of file SBAddress.cpp.
References LLDB_INSTRUMENT_VA.
SBAddress::SBAddress | ( | const lldb::SBAddress & | rhs | ) |
Definition at line 31 of file SBAddress.cpp.
References lldb_private::clone(), LLDB_INSTRUMENT_VA, and m_opaque_up.
SBAddress::SBAddress | ( | lldb::SBSection | section, |
lldb::addr_t | offset | ||
) |
Definition at line 37 of file SBAddress.cpp.
References LLDB_INSTRUMENT_VA.
SBAddress::SBAddress | ( | lldb::addr_t | load_addr, |
lldb::SBTarget & | target | ||
) |
Definition at line 43 of file SBAddress.cpp.
References LLDB_INSTRUMENT_VA, and SetLoadAddress().
|
default |
|
protected |
Definition at line 28 of file SBAddress.cpp.
void SBAddress::Clear | ( | ) |
Definition at line 82 of file SBAddress.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
|
protected |
Definition at line 186 of file SBAddress.cpp.
References m_opaque_up.
Referenced by lldb::SBBreakpoint::AddLocation(), lldb::SBTarget::GetInstructionsWithFlavor(), lldb::SBThreadPlan::QueueThreadPlanForRunToAddress(), lldb::SBThreadPlan::QueueThreadPlanForStepInRange(), lldb::SBThreadPlan::QueueThreadPlanForStepOverRange(), and lldb::SBTarget::ReadInstructions().
SBBlock SBAddress::GetBlock | ( | ) |
Definition at line 240 of file SBAddress.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_up, and lldb::SBBlock::SetPtr().
SBCompileUnit SBAddress::GetCompileUnit | ( | ) |
Definition at line 222 of file SBAddress.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_up, and lldb::SBCompileUnit::reset().
bool SBAddress::GetDescription | ( | lldb::SBStream & | description | ) |
Definition at line 188 of file SBAddress.cpp.
References lldb_private::Address::DumpStyleModuleWithFileAddress, lldb_private::Address::DumpStyleResolvedDescription, LLDB_INSTRUMENT_VA, m_opaque_up, lldb_private::Stream::PutCString(), and lldb::SBStream::ref().
lldb::addr_t SBAddress::GetFileAddress | ( | ) | const |
Definition at line 98 of file SBAddress.cpp.
References LLDB_INSTRUMENT_VA, LLDB_INVALID_ADDRESS, and m_opaque_up.
SBFunction SBAddress::GetFunction | ( | ) |
Definition at line 231 of file SBAddress.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_up, and lldb::SBFunction::reset().
SBLineEntry SBAddress::GetLineEntry | ( | ) |
Definition at line 258 of file SBAddress.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_up, and lldb::SBLineEntry::SetLineEntry().
lldb::addr_t SBAddress::GetLoadAddress | ( | const lldb::SBTarget & | target | ) | const |
Definition at line 107 of file SBAddress.cpp.
References lldb::SBTarget::GetSP(), LLDB_INSTRUMENT_VA, LLDB_INVALID_ADDRESS, and m_opaque_up.
Referenced by lldb::SBTarget::CreateValueFromAddress(), and lldb::SBTarget::ReadInstructions().
SBModule SBAddress::GetModule | ( | ) |
Definition at line 203 of file SBAddress.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_up, and lldb::SBModule::SetSP().
lldb::addr_t SBAddress::GetOffset | ( | ) |
Definition at line 161 of file SBAddress.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
lldb::SBSection SBAddress::GetSection | ( | ) |
Definition at line 152 of file SBAddress.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_up, and lldb::SBSection::SetSP().
SBSymbol SBAddress::GetSymbol | ( | ) |
Definition at line 249 of file SBAddress.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_up, and lldb::SBSymbol::reset().
SBSymbolContext SBAddress::GetSymbolContext | ( | uint32_t | resolve_scope | ) |
Definition at line 212 of file SBAddress.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_up, and lldb::SBSymbolContext::ref().
bool SBAddress::IsValid | ( | ) | const |
Definition at line 72 of file SBAddress.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by lldb::SBBreakpoint::AddLocation(), lldb::SBTarget::BreakpointCreateBySBAddress(), lldb::SBTarget::CreateValueFromAddress(), lldb::SBSymbolContext::GetParentOfInlinedScope(), lldb::SBBlock::GetRangeIndexForBlockAddress(), lldb::operator==(), lldb::SBModule::ResolveSymbolContextForAddress(), and lldb::SBTarget::ResolveSymbolContextForAddress().
bool SBAddress::OffsetAddress | ( | addr_t | offset | ) |
Definition at line 139 of file SBAddress.cpp.
References LLDB_INSTRUMENT_VA, LLDB_INVALID_ADDRESS, and m_opaque_up.
Referenced by lldb::SBLineEntry::GetEndAddress(), and lldb::SBLineEntry::GetSameLineContiguousAddressRangeEnd().
|
explicit |
Definition at line 76 of file SBAddress.cpp.
References LLDB_INSTRUMENT_VA.
bool SBAddress::operator!= | ( | const SBAddress & | rhs | ) | const |
Definition at line 66 of file SBAddress.cpp.
References LLDB_INSTRUMENT_VA.
|
protected |
Definition at line 169 of file SBAddress.cpp.
References m_opaque_up.
|
protected |
Definition at line 171 of file SBAddress.cpp.
References m_opaque_up.
const SBAddress & SBAddress::operator= | ( | const lldb::SBAddress & | rhs | ) |
Definition at line 52 of file SBAddress.cpp.
References lldb_private::clone(), LLDB_INSTRUMENT_VA, and m_opaque_up.
|
protected |
Definition at line 173 of file SBAddress.cpp.
References m_opaque_up.
Referenced by lldb::SBBreakpoint::AddLocation(), lldb::SBTarget::BreakpointCreateBySBAddress(), lldb::SBModule::GetObjectFileEntryPointAddress(), lldb::SBModule::GetObjectFileHeaderAddress(), lldb::SBSymbolContext::GetParentOfInlinedScope(), lldb::SBBlock::GetRangeEndAddress(), lldb::SBBlock::GetRangeIndexForBlockAddress(), lldb::SBBlock::GetRangeStartAddress(), lldb::operator==(), lldb::SBTarget::ReadMemory(), lldb::SBTarget::ResolveFileAddress(), lldb::SBModule::ResolveFileAddress(), lldb::SBTarget::ResolveLoadAddress(), lldb::SBTarget::ResolvePastLoadAddress(), lldb::SBModule::ResolveSymbolContextForAddress(), lldb::SBTarget::ResolveSymbolContextForAddress(), lldb::SBQueueItem::SetAddress(), SetAddress(), and SetLoadAddress().
|
protected |
Definition at line 179 of file SBAddress.cpp.
References m_opaque_up.
|
protected |
Definition at line 96 of file SBAddress.cpp.
References ref().
void SBAddress::SetAddress | ( | lldb::SBSection | section, |
lldb::addr_t | offset | ||
) |
Definition at line 88 of file SBAddress.cpp.
References lldb::SBSection::GetSP(), LLDB_INSTRUMENT_VA, ref(), lldb_private::Address::SetOffset(), and lldb_private::Address::SetSection().
Referenced by lldb::SBInstruction::GetAddress(), lldb::SBQueueItem::GetAddress(), lldb::SBSymbol::GetEndAddress(), lldb::SBLineEntry::GetEndAddress(), lldb::SBFrame::GetPCAddress(), lldb::SBLineEntry::GetSameLineContiguousAddressRangeEnd(), lldb::SBFunction::GetStartAddress(), lldb::SBSymbol::GetStartAddress(), and lldb::SBLineEntry::GetStartAddress().
void SBAddress::SetLoadAddress | ( | lldb::addr_t | load_addr, |
lldb::SBTarget & | target | ||
) |
Definition at line 122 of file SBAddress.cpp.
References lldb::SBTarget::IsValid(), LLDB_INSTRUMENT_VA, m_opaque_up, ref(), and lldb::SBTarget::ResolveLoadAddress().
Referenced by SBAddress().
|
friend |
Definition at line 89 of file SBAddress.h.
|
friend |
Definition at line 90 of file SBAddress.h.
|
friend |
Definition at line 91 of file SBAddress.h.
|
friend |
Definition at line 92 of file SBAddress.h.
|
friend |
Definition at line 93 of file SBAddress.h.
|
friend |
Definition at line 94 of file SBAddress.h.
|
friend |
Definition at line 96 of file SBAddress.h.
|
friend |
Definition at line 95 of file SBAddress.h.
|
friend |
Definition at line 97 of file SBAddress.h.
|
friend |
Definition at line 105 of file SBAddress.h.
|
friend |
Definition at line 98 of file SBAddress.h.
|
friend |
Definition at line 99 of file SBAddress.h.
|
friend |
Definition at line 100 of file SBAddress.h.
|
friend |
Definition at line 101 of file SBAddress.h.
|
friend |
Definition at line 102 of file SBAddress.h.
|
friend |
Definition at line 103 of file SBAddress.h.
|
friend |
Definition at line 104 of file SBAddress.h.
|
private |
Definition at line 126 of file SBAddress.h.
Referenced by Clear(), get(), GetBlock(), GetCompileUnit(), GetDescription(), GetFileAddress(), GetFunction(), GetLineEntry(), GetLoadAddress(), GetModule(), GetOffset(), GetSection(), GetSymbol(), GetSymbolContext(), OffsetAddress(), operator->(), operator=(), ref(), SBAddress(), and SetLoadAddress().