| 1 |
RUN: llvm-dwarfdump --debug-info %S/../../dsymutil/Inputs/libfat-test.a \ |
| 2 |
RUN: | FileCheck %s |
| 3 |
CHECK: libfat-test.a(x86_64)(fat-test.o): file format Mach-O 64-bit x86-64 |
| 4 |
CHECK: .debug_info contents: |
| 5 |
CHECK: libfat-test.a(i386)(fat-test.o): file format Mach-O 32-bit i386 |
| 6 |
CHECK: .debug_info contents: |
| 7 |
|
| 8 |
RUN: llvm-dwarfdump --debug-info %S/../../dsymutil/Inputs/libfat-test.a \ |
| 9 |
RUN: --arch=i386 | FileCheck %s --check-prefix=I386 |
| 10 |
I386-NOT: 64-bit |
| 11 |
I386: file format Mach-O 32-bit i386 |
| 12 |
I386-NOT: 64-bit |
| 13 |
|
| 14 |
RUN: llvm-dwarfdump --debug-info %S/../../dsymutil/Inputs/libfat-test.a \ |
| 15 |
RUN: --arch=i386 --arch=x86_64 | FileCheck %s |
| 16 |
|
| 17 |
RUN: llvm-dwarfdump --debug-info %S/../../dsymutil/Inputs/libfat-test.a \ |
| 18 |
RUN: --arch=7 | FileCheck %s --check-prefix=I386 |