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