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