LLDB  mainline
Public Member Functions | Friends | List of all members
lldb::SBBlock Class Reference

#include <SBBlock.h>

Public Member Functions

 SBBlock ()
 
 SBBlock (const lldb::SBBlock &rhs)
 
 ~SBBlock ()
 
const lldb::SBBlockoperator= (const lldb::SBBlock &rhs)
 
bool IsInlined () const
 
 operator bool () const
 
bool IsValid () const
 
const char * GetInlinedName () const
 
lldb::SBFileSpec GetInlinedCallSiteFile () const
 
uint32_t GetInlinedCallSiteLine () const
 
uint32_t GetInlinedCallSiteColumn () const
 
lldb::SBBlock GetParent ()
 
lldb::SBBlock GetSibling ()
 
lldb::SBBlock GetFirstChild ()
 
uint32_t GetNumRanges ()
 
lldb::SBAddress GetRangeStartAddress (uint32_t idx)
 
lldb::SBAddress GetRangeEndAddress (uint32_t idx)
 
uint32_t GetRangeIndexForBlockAddress (lldb::SBAddress block_addr)
 
lldb::SBValueList GetVariables (lldb::SBFrame &frame, bool arguments, bool locals, bool statics, lldb::DynamicValueType use_dynamic)
 
lldb::SBValueList GetVariables (lldb::SBTarget &target, bool arguments, bool locals, bool statics)
 
lldb::SBBlock GetContainingInlinedBlock ()
 Get the inlined block that contains this block. More...
 
bool GetDescription (lldb::SBStream &description)
 

Friends

class SBAddress
 
class SBFrame
 
class SBFunction
 
class SBSymbolContext
 

Detailed Description

Definition at line 19 of file SBBlock.h.

Constructor & Destructor Documentation

◆ SBBlock() [1/2]

SBBlock::SBBlock ( )

Definition at line 28 of file SBBlock.cpp.

References LLDB_RECORD_CONSTRUCTOR_NO_ARGS.

◆ SBBlock() [2/2]

SBBlock::SBBlock ( const lldb::SBBlock rhs)

Definition at line 35 of file SBBlock.cpp.

References LLDB_RECORD_CONSTRUCTOR.

◆ ~SBBlock()

SBBlock::~SBBlock ( )

Definition at line 47 of file SBBlock.cpp.

Member Function Documentation

◆ GetContainingInlinedBlock()

lldb::SBBlock SBBlock::GetContainingInlinedBlock ( )

Get the inlined block that contains this block.

Returns
If this block is inlined, it will return this block, else parent blocks will be searched to see if any contain this block and are themselves inlined. An invalid SBBlock will be returned if this block nor any parent blocks are inlined function blocks.

Definition at line 142 of file SBBlock.cpp.

References lldb_private::Block::GetContainingInlinedBlock(), LLDB_RECORD_METHOD_NO_ARGS, and LLDB_RECORD_RESULT.

Referenced by lldb_private::repro::RegisterMethods< SBBlock >().

◆ GetDescription()

bool SBBlock::GetDescription ( lldb::SBStream description)

◆ GetFirstChild()

SBBlock SBBlock::GetFirstChild ( )

◆ GetInlinedCallSiteColumn()

uint32_t SBBlock::GetInlinedCallSiteColumn ( ) const

◆ GetInlinedCallSiteFile()

SBFileSpec SBBlock::GetInlinedCallSiteFile ( ) const

◆ GetInlinedCallSiteLine()

uint32_t SBBlock::GetInlinedCallSiteLine ( ) const

◆ GetInlinedName()

const char * SBBlock::GetInlinedName ( ) const

◆ GetNumRanges()

uint32_t SBBlock::GetNumRanges ( )

◆ GetParent()

SBBlock SBBlock::GetParent ( )

◆ GetRangeEndAddress()

lldb::SBAddress SBBlock::GetRangeEndAddress ( uint32_t  idx)

◆ GetRangeIndexForBlockAddress()

uint32_t SBBlock::GetRangeIndexForBlockAddress ( lldb::SBAddress  block_addr)

◆ GetRangeStartAddress()

lldb::SBAddress SBBlock::GetRangeStartAddress ( uint32_t  idx)

◆ GetSibling()

SBBlock SBBlock::GetSibling ( )

◆ GetVariables() [1/2]

lldb::SBValueList SBBlock::GetVariables ( lldb::SBFrame frame,
bool  arguments,
bool  locals,
bool  statics,
lldb::DynamicValueType  use_dynamic 
)

◆ GetVariables() [2/2]

lldb::SBValueList SBBlock::GetVariables ( lldb::SBTarget target,
bool  arguments,
bool  locals,
bool  statics 
)

◆ IsInlined()

bool SBBlock::IsInlined ( ) const

◆ IsValid()

bool SBBlock::IsValid ( ) const

◆ operator bool()

SBBlock::operator bool ( ) const
explicit

Definition at line 53 of file SBBlock.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS.

◆ operator=()

const SBBlock & SBBlock::operator= ( const lldb::SBBlock rhs)

Definition at line 39 of file SBBlock.cpp.

References LLDB_RECORD_METHOD, and LLDB_RECORD_RESULT.

Friends And Related Function Documentation

◆ SBAddress

friend class SBAddress
friend

Definition at line 76 of file SBBlock.h.

◆ SBFrame

friend class SBFrame
friend

Definition at line 77 of file SBBlock.h.

◆ SBFunction

friend class SBFunction
friend

Definition at line 78 of file SBBlock.h.

◆ SBSymbolContext

friend class SBSymbolContext
friend

Definition at line 79 of file SBBlock.h.


The documentation for this class was generated from the following files: