Go to file
Greg Clayton 95897c6a3a Added more API to lldb::SBBlock to allow getting the block
parent, sibling and first child block, and access to the
inline function information.

Added an accessor the StackFrame:

	Block * lldb_private::StackFrame::GetFrameBlock();
	
LLDB represents inline functions as lexical blocks that have
inlined function information in them. The function above allows
us to easily get the top most lexical block that defines a stack
frame. When there are no inline functions in function, the block
returned ends up being the top most block for the function. When
the PC is in an inlined funciton for a frame, this will return the
first parent block that has inlined function information. The
other accessor: StackFrame::GetBlock() will return the deepest block
that matches the frame's PC value. Since most debuggers want to display
all variables in the current frame, the Block returned by
StackFrame::GetFrameBlock can be used to retrieve all variables for
the current frame.

Fixed the lldb_private::Block::DumpStopContext(...) to properly
display inline frames a block should display all of its inlined
functions. Prior to this fix, one of the call sites was being skipped.
This is a separate code path from the current default where inlined
functions get their own frames.

Fixed an issue where a block would always grab variables for any
child inline function blocks.

llvm-svn: 113195
2010-09-07 04:20:48 +00:00
clang Replace loops with SmallVector::append. 2010-09-06 23:43:28 +00:00
compiler-rt Adds an extra explicit cast to fix Bug 7931 and removes codepaths that were never used 2010-08-17 19:13:45 +00:00
libcxx Working the type_traits area: Hooked up to clang's __is_union. Got has_trivial_copy_assign working. 2010-09-06 19:10:31 +00:00
lldb Added more API to lldb::SBBlock to allow getting the block 2010-09-07 04:20:48 +00:00
llvm Fix major bug in thunk detection. Also verify the calling convention. 2010-09-07 01:42:10 +00:00