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::SBAddress | GetEndAddress () |
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 26 of file SBFunction.cpp.
References LLDB_INSTRUMENT_VA.
SBFunction::SBFunction | ( | const lldb::SBFunction & | rhs | ) |
Definition at line 31 of file SBFunction.cpp.
References LLDB_INSTRUMENT_VA.
SBFunction::~SBFunction | ( | ) |
Definition at line 43 of file SBFunction.cpp.
References m_opaque_ptr.
|
private |
Definition at line 28 of file SBFunction.cpp.
|
protected |
Definition at line 135 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 93 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 64 of file SBFunction.cpp.
References lldb_private::ConstString::AsCString(), lldb_private::Mangled::GetDisplayDemangledName(), lldb_private::Function::GetMangled(), LLDB_INSTRUMENT_VA, and m_opaque_ptr.
SBAddress SBFunction::GetEndAddress | ( | ) |
Definition at line 150 of file SBFunction.cpp.
References lldb_private::Function::GetAddressRange(), lldb_private::AddressRange::GetBaseAddress(), lldb_private::AddressRange::GetByteSize(), LLDB_INSTRUMENT_VA, m_opaque_ptr, lldb::SBAddress::SetAddress(), and lldb_private::Address::Slide().
SBInstructionList SBFunction::GetInstructions | ( | lldb::SBTarget | target | ) |
Definition at line 108 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 114 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 73 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 55 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 164 of file SBFunction.cpp.
References lldb::SBAddressRangeList::Append(), lldb_private::Function::GetAddressRange(), LLDB_INSTRUMENT_VA, m_opaque_ptr, and lldb::SBAddressRange::m_opaque_up.
SBAddress SBFunction::GetStartAddress | ( | ) |
Definition at line 141 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 45 of file SBFunction.cpp.
References LLDB_INSTRUMENT_VA.
|
explicit |
Definition at line 49 of file SBFunction.cpp.
References LLDB_INSTRUMENT_VA.
bool SBFunction::operator!= | ( | const lldb::SBFunction & | rhs | ) | const |
Definition at line 87 of file SBFunction.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_ptr.
const SBFunction & SBFunction::operator= | ( | const lldb::SBFunction & | rhs | ) |
Definition at line 36 of file SBFunction.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_ptr.
bool SBFunction::operator== | ( | const lldb::SBFunction & | rhs | ) | const |
Definition at line 81 of file SBFunction.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_ptr.
|
protected |
Definition at line 137 of file SBFunction.cpp.
References m_opaque_ptr.
Referenced by lldb::SBAddress::GetFunction(), and lldb::SBFrame::GetFunction().
|
friend |
Definition at line 74 of file SBFunction.h.
|
friend |
Definition at line 75 of file SBFunction.h.
|
friend |
Definition at line 76 of file SBFunction.h.
|
private |
Definition at line 80 of file SBFunction.h.
Referenced by get(), GetArgumentName(), GetBlock(), GetDescription(), GetDisplayName(), GetEndAddress(), GetInstructions(), GetIsOptimized(), GetLanguage(), GetMangledName(), GetName(), GetPrologueByteSize(), GetRanges(), GetStartAddress(), GetType(), operator!=(), operator=(), operator==(), reset(), and ~SBFunction().