Struct lldb::SBFunction [−][src]
pub struct SBFunction {
pub raw: SBFunctionRef,
}
Expand description
A generic function, which can be inlined or not.
Fields
raw: SBFunctionRef
The underlying raw SBFunctionRef
.
Implementations
Construct a new Some(SBFunction)
or None
.
The display name for the function, as it should be seen in a UI.
The mangled (linkage) name for this function.
pub fn get_instructions(
&self,
target: &SBTarget,
flavor: DisassemblyFlavor
) -> SBInstructionList
pub fn get_instructions(
&self,
target: &SBTarget,
flavor: DisassemblyFlavor
) -> SBInstructionList
Get the address of the start of this function.
Get the address of the end of this function.
Get the size of the function prologue, in bytes.
The return type for this function.
The language that this function was written in.
Returns true if the function was compiled with optimization.
Optimization, in this case, is meant to indicate that the debugger experience may be confusing for the user – variables optimized away, stepping jumping between source lines – and the driver may want to provide some guidance to the user about this. Returns false if unoptimized, or unknown.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more