1$ cat f.c 2int f() { 3 volatile int i; 4 return i; 5} 6$ cat g.c 7int g() { 8 volatile int i; 9 return i; 10} 11$ cat main.c 12int f(); 13int g(); 14 15int main() { 16 return f() + g(); 17} 18$ clang -g f.c -c -o f/foo.o 19$ clang -g g.c -c -o g/foo.o 20$ libtool -static f/foo.o g/foo.o -o foo.a 21$ clang main.o foo.a -o main.out 22 23RUN: dsymutil -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/collision/main.out --dump-debug-map 2>&1 | FileCheck %s 24CHECK: 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