hanchenye-llvm-project/lldb/test/forward
Greg Clayton 54979cddda Fixed the "expression" command object to use the StackFrame::GetValueForExpressionPath()
function and also hooked up better error reporting for when things fail.

Fixed issues with trying to display children of pointers when none are
supposed to be shown (no children for function pointers, and more like this).
This was causing child value objects to be made that were correctly firing
an assertion.

llvm-svn: 121841
2010-12-15 05:08:08 +00:00
..
Makefile
README.txt
TestForwardDeclaration.py Fixed the "expression" command object to use the StackFrame::GetValueForExpressionPath() 2010-12-15 05:08:08 +00:00
foo.c
foo.h
main.c

README.txt

This example has a function call in foo.c named "foo" that takes a forward
declaration to "struct bar" and uses it as a pointer argument. In main.c
we have a real declaration for "struct bar". We want to be able to find the
real definition of "struct bar" when we are stopped in foo in foo.c such that
when we stop in "foo" we see the contents of the "bar_ptr".