1RUN: llvm-objdump %p/Inputs/macho-universal-archive.x86_64.i386 -macho -archive-headers -arch all \
2RUN: | FileCheck %s
3RUN: llvm-objdump %p/Inputs/macho-universal-archive.x86_64.i386 -macho -archive-headers -arch all -archive-member-offsets \
4RUN: | FileCheck %s -check-prefix=OFFSETS
5RUN: llvm-objdump %p/Inputs/macho-universal-archive.x86_64.i386 -macho -archive-headers -arch all -non-verbose \
6RUN: | FileCheck %s -check-prefix=NON-VERBOSE
7
8# Note the date as printed by ctime(3) is time zone dependent and not checked.
9CHECK: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture x86_64)
10CHECK: -rw-r--r--124/11     44 {{.*}} __.SYMDEF SORTED
11CHECK: -rw-r--r--124/0     860 {{.*}} hello.o
12CHECK: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture i386)
13CHECK: -rw-r--r--124/11     60 {{.*}} __.SYMDEF SORTED
14CHECK: -rw-r--r--124/0     388 {{.*}} foo.o
15
16OFFSETS: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture x86_64)
17OFFSETS: 8	-rw-r--r--124/11     44 {{.*}} __.SYMDEF SORTED
18OFFSETS: 112	-rw-r--r--124/0     860 {{.*}} hello.o
19OFFSETS: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture i386)
20OFFSETS: 8	-rw-r--r--124/11     60 {{.*}} __.SYMDEF SORTED
21OFFSETS: 128	-rw-r--r--124/0     388 {{.*}} foo.o
22
23NON-VERBOSE: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture x86_64)
24NON-VERBOSE: 0100644 124/11     44 1399572709 #1/20
25NON-VERBOSE: 0100644 124/0     860 1399501499 #1/12
26NON-VERBOSE: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture i386)
27NON-VERBOSE: 0100644 124/11     60 1399572709 #1/20
28NON-VERBOSE: 0100644 124/0     388 1399572697 #1/12
29