diff options
Diffstat (limited to 'lldb/test/API/lang/cpp/function-call-from-object-file/lib2.cpp')
| -rw-r--r-- | lldb/test/API/lang/cpp/function-call-from-object-file/lib2.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/test/API/lang/cpp/function-call-from-object-file/lib2.cpp b/lldb/test/API/lang/cpp/function-call-from-object-file/lib2.cpp new file mode 100644 index 000000000000..2f9d81a8bdf4 --- /dev/null +++ b/lldb/test/API/lang/cpp/function-call-from-object-file/lib2.cpp @@ -0,0 +1,6 @@ +#include "common.h" + +void lib2_func(Foo *) { + // Force definition into lib2.o debug-info. + Foo{}.foo(); +} |
