Struct lldb::SBSymbol
[−]
[src]
pub struct SBSymbol {
pub raw: SBSymbolRef,
}The symbol possibly associated with a stack frame.
Fields
raw: SBSymbolRef
The underlying raw SBSymbolRef.
Methods
impl SBSymbol[src]
fn wrap(raw: SBSymbolRef) -> SBSymbol[src]
Construct a new SBSymbol.
fn maybe_wrap(raw: SBSymbolRef) -> Option<SBSymbol>[src]
Construct a new Some(SBSymbol) or None.
fn is_valid(&self) -> bool[src]
Check whether or not this is a valid SBSymbol value.
fn name(&self) -> &str[src]
The name of this function.
fn display_name(&self) -> &str[src]
The display name for the function, as it should be seen in a UI.
fn mangled_name(&self) -> &str[src]
The mangled (linkage) name for this function.
fn get_instructions(
&self,
target: &SBTarget,
flavor: DisassemblyFlavor
) -> SBInstructionList[src]
&self,
target: &SBTarget,
flavor: DisassemblyFlavor
) -> SBInstructionList
fn start_address(&self) -> Option<SBAddress>[src]
Get the address that this symbol refers to, if present.
fn end_address(&self) -> Option<SBAddress>[src]
If the symbol has an address and the underlying value has a non-zero size, this will have the address of the end of the value.
Note: It seems unfortunate that if the underlying value is 0-sized,
this will result in None rather than the same address as the
start_address.
fn prologue_byte_size(&self) -> u32[src]
Get the size of the function prologue, in bytes.
fn symbol_type(&self) -> SymbolType[src]
What type of symbol is this?
fn is_external(&self) -> bool[src]
Is this symbol externally visible (exported) from the module that contains it?
fn is_synthetic(&self) -> bool[src]
Is this symbol synthetically created from information in the module that contains it?