diff options
| author | Kevin Enderby <enderby@apple.com> | 2014-12-23 22:56:39 +0000 |
|---|---|---|
| committer | Kevin Enderby <enderby@apple.com> | 2014-12-23 22:56:39 +0000 |
| commit | 48ef534b7423df934248de5c1400700501b687a8 (patch) | |
| tree | 4ce768dd3cff24b82aec24adaeb4ed93ceb0830a /llvm/test/tools/llvm-objdump | |
| parent | ca18fe1d1a89b4027646dbff8c4fb49084e9d871 (diff) | |
| download | bcm5719-llvm-48ef534b7423df934248de5c1400700501b687a8.tar.gz bcm5719-llvm-48ef534b7423df934248de5c1400700501b687a8.zip | |
Add printing the LC_THREAD load commands with llvm-objdump’s -private-headers.
llvm-svn: 224792
Diffstat (limited to 'llvm/test/tools/llvm-objdump')
| -rwxr-xr-x | llvm/test/tools/llvm-objdump/X86/Inputs/exeThread.macho-x86_64 | bin | 0 -> 9100 bytes | |||
| -rw-r--r-- | llvm/test/tools/llvm-objdump/X86/macho-private-headers.test | 16 |
2 files changed, 16 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-objdump/X86/Inputs/exeThread.macho-x86_64 b/llvm/test/tools/llvm-objdump/X86/Inputs/exeThread.macho-x86_64 Binary files differnew file mode 100755 index 00000000000..93fe1db83f2 --- /dev/null +++ b/llvm/test/tools/llvm-objdump/X86/Inputs/exeThread.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 9f971d1c311..5bea041c887 100644 --- a/llvm/test/tools/llvm-objdump/X86/macho-private-headers.test +++ b/llvm/test/tools/llvm-objdump/X86/macho-private-headers.test @@ -15,6 +15,8 @@ // RUN: | FileCheck %s -check-prefix=SUB_CLI // RUN: llvm-objdump -p %p/Inputs/dylibRoutines.macho-x86_64 \ // RUN: | FileCheck %s -check-prefix=ROUTINE +// RUN: llvm-objdump -p %p/Inputs/exeThread.macho-x86_64 \ +// RUN: | FileCheck %s -check-prefix=THREAD CHECK: Mach header CHECK: magic cputype cpusubtype caps filetype ncmds sizeofcmds flags @@ -421,3 +423,17 @@ ROUTINE: reserved3 0 ROUTINE: reserved4 0 ROUTINE: reserved5 0 ROUTINE: reserved6 0 + +THREAD: Load command 10 +THREAD: cmd LC_UNIXTHREAD +THREAD: cmdsize 184 +THREAD: flavor x86_THREAD_STATE64 +THREAD: count x86_THREAD_STATE64_COUNT +THREAD: rax 0x0000000000000000 rbx 0x0000000000000000 rcx 0x0000000000000000 +THREAD: rdx 0x0000000000000000 rdi 0x0000000000000000 rsi 0x0000000000000000 +THREAD: rbp 0x0000000000000000 rsp 0x0000000000000000 r8 0x0000000000000000 +THREAD: r9 0x0000000000000000 r10 0x0000000000000000 r11 0x0000000000000000 +THREAD: r12 0x0000000000000000 r13 0x0000000000000000 r14 0x0000000000000000 +THREAD: r15 0x0000000000000000 rip 0x0000000100000d00 +THREAD: rflags 0x0000000000000000 cs 0x0000000000000000 fs 0x0000000000000000 +THREAD: gs 0x0000000000000000 |

