LLDB mainline
|
#include <SBFunction.h>
Public Member Functions | |
SBFunction () | |
SBFunction (const lldb::SBFunction &rhs) | |
const lldb::SBFunction & | operator= (const lldb::SBFunction &rhs) |
~SBFunction () | |
operator bool () const | |
bool | IsValid () const |
const char * | GetName () const |
const char * | GetDisplayName () const |
const char * | GetMangledName () const |
lldb::SBInstructionList | GetInstructions (lldb::SBTarget target) |
lldb::SBInstructionList | GetInstructions (lldb::SBTarget target, const char *flavor) |
lldb::SBAddress | GetStartAddress () |
LLDB_DEPRECATED_FIXME("Not compatible with discontinuous functions.", "GetRanges()") lldb lldb::SBAddressRangeList | GetRanges () |
const char * | GetArgumentName (uint32_t arg_idx) |
uint32_t | GetPrologueByteSize () |
lldb::SBType | GetType () |
lldb::SBBlock | GetBlock () |
lldb::LanguageType | GetLanguage () |
bool | GetIsOptimized () |
bool | operator== (const lldb::SBFunction &rhs) const |
bool | operator!= (const lldb::SBFunction &rhs) const |
bool | GetDescription (lldb::SBStream &description) |
Protected Member Functions | |
lldb_private::Function * | get () |
void | reset (lldb_private::Function *lldb_object_ptr) |
Private Member Functions | |
SBFunction (lldb_private::Function *lldb_object_ptr) | |
Private Attributes | |
lldb_private::Function * | m_opaque_ptr = nullptr |
Friends | |
class | SBAddress |
class | SBFrame |
class | SBSymbolContext |
Definition at line 19 of file SBFunction.h.
SBFunction::SBFunction | ( | ) |
Definition at line 27 of file SBFunction.cpp.
References LLDB_INSTRUMENT_VA.
SBFunction::SBFunction | ( | const lldb::SBFunction & | rhs | ) |
Definition at line 32 of file SBFunction.cpp.
References LLDB_INSTRUMENT_VA.
SBFunction::~SBFunction | ( | ) |
Definition at line 44 of file SBFunction.cpp.
References m_opaque_ptr.
|
private |
Definition at line 29 of file SBFunction.cpp.
|
protected |
Definition at line 137 of file SBFunction.cpp.
References m_opaque_ptr.
Referenced by lldb::SBSymbolContext::SetFunction().
const char * SBFunction::GetArgumentName | ( | uint32_t | arg_idx | ) |
Definition at line 177 of file SBFunction.cpp.
References lldb_private::VariableList::AppendVariablesWithScope(), lldb::eValueTypeVariableArgument, lldb_private::Function::GetBlock(), lldb_private::Block::GetBlockVariableList(), lldb_private::VariableList::GetVariableAtIndex(), LLDB_INSTRUMENT_VA, and m_opaque_ptr.
SBBlock SBFunction::GetBlock | ( | ) |
Definition at line 218 of file SBFunction.cpp.
References lldb_private::Function::GetBlock(), LLDB_INSTRUMENT_VA, m_opaque_ptr, and lldb::SBBlock::SetPtr().
bool SBFunction::GetDescription | ( | lldb::SBStream & | description | ) |
Definition at line 94 of file SBFunction.cpp.
References lldb_private::ConstString::AsCString(), lldb_private::UserID::GetID(), lldb_private::Type::GetName(), lldb_private::Function::GetName(), lldb_private::Function::GetType(), LLDB_INSTRUMENT_VA, and m_opaque_ptr.
const char * SBFunction::GetDisplayName | ( | ) | const |
Definition at line 65 of file SBFunction.cpp.
References lldb_private::ConstString::AsCString(), lldb_private::Mangled::GetDisplayDemangledName(), lldb_private::Function::GetMangled(), LLDB_INSTRUMENT_VA, and m_opaque_ptr.
SBInstructionList SBFunction::GetInstructions | ( | lldb::SBTarget | target | ) |
Definition at line 109 of file SBFunction.cpp.
References GetInstructions(), and LLDB_INSTRUMENT_VA.
Referenced by GetInstructions().
SBInstructionList SBFunction::GetInstructions | ( | lldb::SBTarget | target, |
const char * | flavor | ||
) |
Definition at line 115 of file SBFunction.cpp.
References lldb_private::Disassembler::DisassembleRange(), lldb_private::Function::GetAddressRange(), lldb_private::AddressRange::GetBaseAddress(), lldb_private::Address::GetModule(), lldb::SBTarget::GetSP(), LLDB_INSTRUMENT_VA, m_opaque_ptr, and lldb::SBInstructionList::SetDisassembler().
bool SBFunction::GetIsOptimized | ( | ) |
Definition at line 237 of file SBFunction.cpp.
References lldb_private::Function::GetCompileUnit(), lldb_private::CompileUnit::GetIsOptimized(), LLDB_INSTRUMENT_VA, and m_opaque_ptr.
lldb::LanguageType SBFunction::GetLanguage | ( | ) |
Definition at line 227 of file SBFunction.cpp.
References lldb::eLanguageTypeUnknown, lldb_private::Function::GetCompileUnit(), lldb_private::CompileUnit::GetLanguage(), LLDB_INSTRUMENT_VA, and m_opaque_ptr.
const char * SBFunction::GetMangledName | ( | ) | const |
Definition at line 74 of file SBFunction.cpp.
References lldb_private::ConstString::AsCString(), lldb_private::Function::GetMangled(), lldb_private::Mangled::GetMangledName(), LLDB_INSTRUMENT_VA, and m_opaque_ptr.
const char * SBFunction::GetName | ( | ) | const |
Definition at line 56 of file SBFunction.cpp.
References lldb_private::ConstString::AsCString(), lldb_private::Function::GetName(), LLDB_INSTRUMENT_VA, and m_opaque_ptr.
uint32_t SBFunction::GetPrologueByteSize | ( | ) |
Definition at line 198 of file SBFunction.cpp.
References lldb_private::Function::GetPrologueByteSize(), LLDB_INSTRUMENT_VA, and m_opaque_ptr.
lldb::SBAddressRangeList SBFunction::GetRanges | ( | ) |
Definition at line 167 of file SBFunction.cpp.
References lldb_private::Function::GetAddressRanges(), LLDB_INSTRUMENT_VA, m_opaque_ptr, and lldb::SBAddressRangeList::ref().
SBAddress SBFunction::GetStartAddress | ( | ) |
Definition at line 143 of file SBFunction.cpp.
References lldb_private::Function::GetAddressRange(), lldb_private::AddressRange::GetBaseAddress(), LLDB_INSTRUMENT_VA, m_opaque_ptr, and lldb::SBAddress::SetAddress().
SBType SBFunction::GetType | ( | ) |
Definition at line 206 of file SBFunction.cpp.
References lldb_private::Function::GetType(), LLDB_INSTRUMENT_VA, m_opaque_ptr, lldb::SBType::ref(), and lldb_private::TypeImpl::SetType().
bool SBFunction::IsValid | ( | ) | const |
Definition at line 46 of file SBFunction.cpp.
References LLDB_INSTRUMENT_VA.
|
explicit |
Definition at line 50 of file SBFunction.cpp.
References LLDB_INSTRUMENT_VA.
bool SBFunction::operator!= | ( | const lldb::SBFunction & | rhs | ) | const |
Definition at line 88 of file SBFunction.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_ptr.
const SBFunction & SBFunction::operator= | ( | const lldb::SBFunction & | rhs | ) |
Definition at line 37 of file SBFunction.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_ptr.
bool SBFunction::operator== | ( | const lldb::SBFunction & | rhs | ) | const |
Definition at line 82 of file SBFunction.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_ptr.
|
protected |
Definition at line 139 of file SBFunction.cpp.
References m_opaque_ptr.
Referenced by lldb::SBAddress::GetFunction(), and lldb::SBFrame::GetFunction().
|
friend |
Definition at line 76 of file SBFunction.h.
|
friend |
Definition at line 77 of file SBFunction.h.
|
friend |
Definition at line 78 of file SBFunction.h.
|
private |
Definition at line 82 of file SBFunction.h.
Referenced by get(), GetArgumentName(), GetBlock(), GetDescription(), GetDisplayName(), GetInstructions(), GetIsOptimized(), GetLanguage(), GetMangledName(), GetName(), GetPrologueByteSize(), GetRanges(), GetStartAddress(), GetType(), operator!=(), operator=(), operator==(), reset(), and ~SBFunction().