2 void start(void) asm("start");
4 $ xcrun clang -c -o foo.o foo.c -g3
5 $ xcrun clang -o foo foo.o -g3 -Wl,-preload -nodefaultlibs
7 RUN: dsymutil -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/preload/foo -o %t.dSYM
8 RUN: llvm-nm %p/../Inputs/private/tmp/preload/foo | FileCheck %s
9 RUN: llvm-nm %t.dSYM/Contents/Resources/DWARF/foo | FileCheck %s
11 RUN: dsymutil --linker parallel -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/preload/foo -o %t.dSYM
12 RUN: llvm-nm %p/../Inputs/private/tmp/preload/foo | FileCheck %s
13 RUN: llvm-nm %t.dSYM/Contents/Resources/DWARF/foo | FileCheck %s