Sign in
llvm
/
llvm-project
/
lldb
/
refs/heads/main
/
.
/
test
/
API
/
lang
/
cpp
/
function-call-from-object-file
/
lib1.cpp
blob: b97bcc1b712b6003f48e140325e5c3954b70889d [
file
] [
log
] [
blame
] [
edit
]
#include
"common.h"
// Parameter "Foo*" forces LLDB to parse "Foo" from the object
// file that it is stopped in.
void
lib1_func
(
Foo
*)
{
// Force definition into lib1.o debug-info.
Foo
{}.
foo
();
}