[lldb] Fix "exact match" debug_names type queries (#118465)
[llvm-project.git] / llvm / test / tools / dsymutil / ARM / preload.test
blob2c4522034249f6f4675df7cd934afc1e3e37335d
1 $ cat foo.c
2 void start(void) asm("start");
3 void start(void) {}
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
15 CHECK: start