2015-01-16 22:10:36 +00:00
|
|
|
RUN: llvm-objdump %p/Inputs/macho-universal-archive.x86_64.i386 -macho -archive-headers -arch all \
|
|
|
|
RUN: | FileCheck %s
|
2015-04-30 20:30:42 +00:00
|
|
|
RUN: llvm-objdump %p/Inputs/macho-universal-archive.x86_64.i386 -macho -archive-headers -arch all -archive-member-offsets \
|
|
|
|
RUN: | FileCheck %s -check-prefix=OFFSETS
|
|
|
|
RUN: llvm-objdump %p/Inputs/macho-universal-archive.x86_64.i386 -macho -archive-headers -arch all -non-verbose \
|
|
|
|
RUN: | FileCheck %s -check-prefix=NON-VERBOSE
|
2015-01-16 22:10:36 +00:00
|
|
|
|
|
|
|
# Note the date as printed by ctime(3) is time zone dependent and not checked.
|
|
|
|
CHECK: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture x86_64)
|
2015-01-23 21:02:44 +00:00
|
|
|
CHECK: -rw-r--r--124/11 44 {{.*}} __.SYMDEF SORTED
|
|
|
|
CHECK: -rw-r--r--124/0 860 {{.*}} hello.o
|
2015-01-16 22:10:36 +00:00
|
|
|
CHECK: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture i386)
|
2015-01-23 21:02:44 +00:00
|
|
|
CHECK: -rw-r--r--124/11 60 {{.*}} __.SYMDEF SORTED
|
|
|
|
CHECK: -rw-r--r--124/0 388 {{.*}} foo.o
|
2015-04-30 20:30:42 +00:00
|
|
|
|
|
|
|
OFFSETS: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture x86_64)
|
|
|
|
OFFSETS: 8 -rw-r--r--124/11 44 {{.*}} __.SYMDEF SORTED
|
|
|
|
OFFSETS: 112 -rw-r--r--124/0 860 {{.*}} hello.o
|
|
|
|
OFFSETS: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture i386)
|
|
|
|
OFFSETS: 8 -rw-r--r--124/11 60 {{.*}} __.SYMDEF SORTED
|
|
|
|
OFFSETS: 128 -rw-r--r--124/0 388 {{.*}} foo.o
|
|
|
|
|
|
|
|
NON-VERBOSE: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture x86_64)
|
|
|
|
NON-VERBOSE: 0100644 124/11 44 1399572709 #1/20
|
|
|
|
NON-VERBOSE: 0100644 124/0 860 1399501499 #1/12
|
|
|
|
NON-VERBOSE: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture i386)
|
|
|
|
NON-VERBOSE: 0100644 124/11 60 1399572709 #1/20
|
|
|
|
NON-VERBOSE: 0100644 124/0 388 1399572697 #1/12
|