mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
28b8dea315
option to print the archive headers using raw numeric values. Also add the -archive-member-offsets for use with these to also trigger printing of the offset of the archive member from the start of the archive. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236252 91177308-0d34-0410-b5e6-96231b3b80d8
29 lines
1.6 KiB
Plaintext
29 lines
1.6 KiB
Plaintext
RUN: llvm-objdump %p/Inputs/macho-universal-archive.x86_64.i386 -macho -archive-headers -arch all \
|
|
RUN: | FileCheck %s
|
|
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
|
|
|
|
# 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)
|
|
CHECK: -rw-r--r--124/11 44 {{.*}} __.SYMDEF SORTED
|
|
CHECK: -rw-r--r--124/0 860 {{.*}} hello.o
|
|
CHECK: Archive : {{.*}}/macho-universal-archive.x86_64.i386 (architecture i386)
|
|
CHECK: -rw-r--r--124/11 60 {{.*}} __.SYMDEF SORTED
|
|
CHECK: -rw-r--r--124/0 388 {{.*}} foo.o
|
|
|
|
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
|