diff options
author | Kevin Enderby <enderby@apple.com> | 2015-01-15 23:19:11 +0000 |
---|---|---|
committer | Kevin Enderby <enderby@apple.com> | 2015-01-15 23:19:11 +0000 |
commit | 13023a1af6965374b0c253e8092cc36fbb46dcab (patch) | |
tree | 5e1b401f091d050b62116b111932a059146663a4 /llvm/test/tools/llvm-objdump | |
parent | cb92c19fc4ac08a6e8e4806ce6f217d2e4f83b5c (diff) | |
download | bcm5719-llvm-13023a1af6965374b0c253e8092cc36fbb46dcab.tar.gz bcm5719-llvm-13023a1af6965374b0c253e8092cc36fbb46dcab.zip |
Add the option, -archive-headers, used with -macho to print the Mach-O archive headers to llvm-objdump.
llvm-svn: 226228
Diffstat (limited to 'llvm/test/tools/llvm-objdump')
-rw-r--r-- | llvm/test/tools/llvm-objdump/X86/macho-archive-headers.test | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-objdump/X86/macho-archive-headers.test b/llvm/test/tools/llvm-objdump/X86/macho-archive-headers.test new file mode 100644 index 00000000000..3d9043e671a --- /dev/null +++ b/llvm/test/tools/llvm-objdump/X86/macho-archive-headers.test @@ -0,0 +1,10 @@ +RUN: llvm-objdump %p/Inputs/macho-universal-archive.x86_64.i386 -macho -archive-headers -arch all \ +RUN: | FileCheck %s + +# 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 |