Struct lldb::SBFunction [] [src]

pub struct SBFunction {
    pub raw: SBFunctionRef,
}

A generic function, which can be inlined or not.

Fields

The underlying raw SBFunctionRef.

Methods

impl SBFunction
[src]

[src]

Construct a new SBFunction.

[src]

Construct a new Some(SBFunction) or None.

[src]

Check whether or not this is a valid SBFunction value.

[src]

The name of this function.

[src]

The display name for the function, as it should be seen in a UI.

[src]

The mangled (linkage) name for this function.

[src]

[src]

Get the address of the start of this function.

[src]

Get the address of the end of this function.

[src]

Get the size of the function prologue, in bytes.

[src]

The return type for this function.

[src]

Get the top level lexical block for this function.

[src]

The language that this function was written in.

[src]

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

impl Debug for SBFunction
[src]

[src]

Formats the value using the given formatter.

impl Drop for SBFunction
[src]

[src]

Executes the destructor for this type. Read more