llvm-project/lldb/packages/Python/lldbsuite/test/lang/c/forward
Adrian Prantl 595048f3ec Wrap all references to build artifacts in the LLDB testsuite (NFC)
in TestBase::getBuildArtifact(). This NFC commit is in preparation for
https://reviews.llvm.org/D42281 (compile the LLDB tests out-of-tree).

Differential Revision: https://reviews.llvm.org/D42280

llvm-svn: 323007
2018-01-19 23:24:35 +00:00
..
Makefile
README.txt
TestForwardDeclaration.py Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +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".