brintos

brintos / llvm-project-archived public Read only

0
0
Text · 619 B · 55fd5e6 Raw
27 lines · plain
1$ cat f.c2int f() {3  volatile int i;4  return i;5}6$ cat g.c7int g() {8  volatile int i;9  return i;10}11$ cat main.c12int f();13int g();14 15int main() {16  return f() + g();17}18$ clang -g f.c -c -o f/foo.o19$ clang -g g.c -c -o g/foo.o20$ libtool -static f/foo.o g/foo.o -o foo.a21$ clang main.o foo.a -o main.out22 23RUN: dsymutil -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/collision/main.out --dump-debug-map 2>&1 | FileCheck %s24CHECK: skipping debug map object with duplicate name and timestamp: {{.*}} /private/tmp/collision/foo.a(foo.o)25CHECK-NOT: could not find symbol '_g'26CHECK-NOT: could not find symbol '_f'27