xref: /llvm-project/llvm/test/tools/dsymutil/ARM/firmware.test (revision 83402c301982dc672e8996e1a33e7c4abf109044)
1$ cat test.c
2int 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
9RUN: dsymutil -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/firmware/test.out -o %t.dSYM
10RUN: llvm-objdump -h %t.dSYM/Contents/Resources/DWARF/test.out | FileCheck %s
11CHECK: file format mach-o arm64
12