diff options
| author | Kevin Enderby <enderby@apple.com> | 2014-12-19 22:25:22 +0000 |
|---|---|---|
| committer | Kevin Enderby <enderby@apple.com> | 2014-12-19 22:25:22 +0000 |
| commit | 52e4ce4a536705e8776c6026ae5bfca5d480ad55 (patch) | |
| tree | 346e57097c0e381c0ea1f26ff05efbd29ff8e40b /llvm/test | |
| parent | 5459af15f9eaab5e7f28a74a45c811fbcd4e8e60 (diff) | |
| download | bcm5719-llvm-52e4ce4a536705e8776c6026ae5bfca5d480ad55.tar.gz bcm5719-llvm-52e4ce4a536705e8776c6026ae5bfca5d480ad55.zip | |
Add printing the LC_ROUTINES load commands with llvm-objdump’s -private-headers.
llvm-svn: 224627
Diffstat (limited to 'llvm/test')
| -rwxr-xr-x | llvm/test/tools/llvm-objdump/X86/Inputs/dylibRoutines.macho-x86_64 | bin | 0 -> 4288 bytes | |||
| -rw-r--r-- | llvm/test/tools/llvm-objdump/X86/macho-private-headers.test | 14 |
2 files changed, 14 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-objdump/X86/Inputs/dylibRoutines.macho-x86_64 b/llvm/test/tools/llvm-objdump/X86/Inputs/dylibRoutines.macho-x86_64 Binary files differnew file mode 100755 index 00000000000..35680452a09 --- /dev/null +++ b/llvm/test/tools/llvm-objdump/X86/Inputs/dylibRoutines.macho-x86_64 diff --git a/llvm/test/tools/llvm-objdump/X86/macho-private-headers.test b/llvm/test/tools/llvm-objdump/X86/macho-private-headers.test index 2b26921d357..9f971d1c311 100644 --- a/llvm/test/tools/llvm-objdump/X86/macho-private-headers.test +++ b/llvm/test/tools/llvm-objdump/X86/macho-private-headers.test @@ -13,6 +13,8 @@ // RUN: | FileCheck %s -check-prefix=SUB_LIB // RUN: llvm-objdump -p %p/Inputs/dylibSubClient.macho-x86_64 \ // RUN: | FileCheck %s -check-prefix=SUB_CLI +// RUN: llvm-objdump -p %p/Inputs/dylibRoutines.macho-x86_64 \ +// RUN: | FileCheck %s -check-prefix=ROUTINE CHECK: Mach header CHECK: magic cputype cpusubtype caps filetype ncmds sizeofcmds flags @@ -407,3 +409,15 @@ SUB_CLI: Load command 10 SUB_CLI: cmd LC_SUB_CLIENT SUB_CLI: cmdsize 16 SUB_CLI: client bar (offset 12) + +ROUTINE: Load command 6 +ROUTINE: cmd LC_ROUTINES_64 +ROUTINE: cmdsize 72 +ROUTINE: init_address 0x0000000000000f80 +ROUTINE: init_module 0 +ROUTINE: reserved1 0 +ROUTINE: reserved2 0 +ROUTINE: reserved3 0 +ROUTINE: reserved4 0 +ROUTINE: reserved5 0 +ROUTINE: reserved6 0 |

