Package lldb :: Class SBBlock
[hide private]
[frames] | no frames]

Class SBBlock

source code


Represents a lexical block. SBFunction contains SBBlock(s).

Nested Classes [hide private]
  ranges_access
A helper object that will lazily hand out an array of lldb.SBAddress that represent address ranges for a block.
Instance Methods [hide private]
 
__repr__(self) source code
 
__init__(self, *args)
__init__(lldb::SBBlock self) -> SBBlock __init__(lldb::SBBlock self, SBBlock rhs) -> SBBlock
source code
 
IsInlined(self)
IsInlined(SBBlock self) -> bool
source code
 
IsValid(self)
IsValid(SBBlock self) -> bool
source code
 
__nonzero__(self) source code
 
__bool__(self) source code
 
GetInlinedName(self)
GetInlinedName(SBBlock self) -> char const *
source code
 
GetInlinedCallSiteFile(self)
GetInlinedCallSiteFile(SBBlock self) -> SBFileSpec
source code
 
GetInlinedCallSiteLine(self)
GetInlinedCallSiteLine(SBBlock self) -> uint32_t
source code
 
GetInlinedCallSiteColumn(self)
GetInlinedCallSiteColumn(SBBlock self) -> uint32_t
source code
 
GetParent(self)
GetParent(SBBlock self) -> SBBlock
source code
 
GetContainingInlinedBlock(self)
GetContainingInlinedBlock(SBBlock self) -> SBBlock
source code
 
GetSibling(self)
GetSibling(SBBlock self) -> SBBlock
source code
 
GetFirstChild(self)
GetFirstChild(SBBlock self) -> SBBlock
source code
 
GetNumRanges(self)
GetNumRanges(SBBlock self) -> uint32_t
source code
 
GetRangeStartAddress(self, *args)
GetRangeStartAddress(SBBlock self, uint32_t idx) -> SBAddress
source code
 
GetRangeEndAddress(self, *args)
GetRangeEndAddress(SBBlock self, uint32_t idx) -> SBAddress
source code
 
GetRangeIndexForBlockAddress(self, *args)
GetRangeIndexForBlockAddress(SBBlock self, SBAddress block_addr) -> uint32_t
source code
 
GetDescription(self, *args)
GetDescription(SBBlock self, SBStream description) -> bool
source code
 
GetVariables(self, *args)
GetVariables(SBBlock self, SBFrame frame, bool arguments, bool locals, bool statics, lldb::DynamicValueType use_dynamic) -> SBValueList GetVariables(SBBlock self, SBTarget target, bool arguments, bool locals, bool statics) -> SBValueList
source code
 
get_range_at_index(self, idx) source code
 
get_ranges_access_object(self)
An accessor function that returns a ranges_access() object which allows lazy block address ranges access.
source code
 
get_ranges_array(self)
An accessor function that returns an array object that contains all ranges in this block object.
source code
 
get_call_site(self) source code
 
__str__(self)
__str__(SBBlock self) -> PyObject *
source code
Class Variables [hide private]
  __swig_setmethods__ = {}
  __setattr__ = lambda self, name, value:
  __swig_getmethods__ = {}
  __getattr__ = lambda self, name:
  __swig_destroy__ = _lldb.delete_SBBlock
  __del__ = lambda self:
Method Details [hide private]

IsInlined(self)

source code 

IsInlined(SBBlock self) -> bool

Does this block represent an inlined function?

GetInlinedName(self)

source code 

GetInlinedName(SBBlock self) -> char const *

Get the function name if this block represents an inlined function; otherwise, return None.

GetInlinedCallSiteFile(self)

source code 

GetInlinedCallSiteFile(SBBlock self) -> SBFileSpec

Get the call site file if this block represents an inlined function; otherwise, return an invalid file spec.

GetInlinedCallSiteLine(self)

source code 

GetInlinedCallSiteLine(SBBlock self) -> uint32_t

Get the call site line if this block represents an inlined function; otherwise, return 0.

GetInlinedCallSiteColumn(self)

source code 

GetInlinedCallSiteColumn(SBBlock self) -> uint32_t

Get the call site column if this block represents an inlined function; otherwise, return 0.

GetParent(self)

source code 

GetParent(SBBlock self) -> SBBlock

Get the parent block.

GetContainingInlinedBlock(self)

source code 

GetContainingInlinedBlock(SBBlock self) -> SBBlock

Get the inlined block that is or contains this block.

GetSibling(self)

source code 

GetSibling(SBBlock self) -> SBBlock

Get the sibling block for this block.

GetFirstChild(self)

source code 

GetFirstChild(SBBlock self) -> SBBlock

Get the first child block.