llvm/test/tools/dsymutil/ARM/firmware.test
raw| 1 | $ cat test.c |
| 2 | int main() { |
| 3 | return 0; |
| 4 | } |
| 5 | |
| 6 | $ xcrun clang -O0 -target arm64-apple-unknown-macho test.c -c -o test.o |
| 7 | $ xcrun ld -arch arm64 -o test.out test.o -platform_version firmware 0 0 |
| 8 | |
| 9 | RUN: dsymutil -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/firmware/test.out -o %t.dSYM |
| 10 | RUN: llvm-objdump -h %t.dSYM/Contents/Resources/DWARF/test.out | FileCheck %s |
| 11 | CHECK: file format mach-o arm64 |