8 static const nontrivial magic_static;
19 $ xcrun clang++ -g -flto=thin -O2 foo.cpp bar.cpp -c
20 $ xcrun clang++ -flto=thin foo.o bar.o -Xlinker -object_path_lto -Xlinker lto -shared -o foobar.dylib
22 RUN: dsymutil -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/thinlto/foobar.dylib -o %t.dSYM 2>&1 | FileCheck %s --allow-empty
24 RUN: dsymutil --linker llvm -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/thinlto/foobar.dylib -o %t.dSYM 2>&1 | FileCheck %s --allow-empty
26 CHECK-NOT: could not find object file symbol for symbol __ZZ9function2vE12magic_static
27 CHECK-NOT: could not find object file symbol for symbol __ZGVZ9function2vE12magic_static