diff options
author | Kevin Enderby <enderby@apple.com> | 2015-01-22 18:55:27 +0000 |
---|---|---|
committer | Kevin Enderby <enderby@apple.com> | 2015-01-22 18:55:27 +0000 |
commit | a7bdc7e6718219d9585659a5329851a69759626d (patch) | |
tree | 7fb8fa863798ecd02cbb539f38821915149fb5d0 /llvm/test | |
parent | f15d7a588228842f558b14c0f23ba76d9b5e8d80 (diff) | |
download | bcm5719-llvm-a7bdc7e6718219d9585659a5329851a69759626d.tar.gz bcm5719-llvm-a7bdc7e6718219d9585659a5329851a69759626d.zip |
Add the option, -indirect-symbols, used with -macho to print the Mach-O indirect symbol table to llvm-objdump.
llvm-svn: 226848
Diffstat (limited to 'llvm/test')
-rw-r--r-- | llvm/test/tools/llvm-objdump/X86/macho-indirect-symbols.test | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-objdump/X86/macho-indirect-symbols.test b/llvm/test/tools/llvm-objdump/X86/macho-indirect-symbols.test new file mode 100644 index 00000000000..4f3af181c06 --- /dev/null +++ b/llvm/test/tools/llvm-objdump/X86/macho-indirect-symbols.test @@ -0,0 +1,12 @@ +RUN: llvm-objdump -macho -indirect-symbols %p/Inputs/hello.exe.macho-x86_64 | FileCheck %s + +CHECK: Indirect symbols for (__TEXT,__stubs) 1 entries +CHECK: address index name +CHECK: 0x0000000100000f6c 2 _printf +CHECK: Indirect symbols for (__DATA,__nl_symbol_ptr) 2 entries +CHECK: address index name +CHECK: 0x0000000100001000 3 dyld_stub_binder +CHECK: 0x0000000100001008 ABSOLUTE +CHECK: Indirect symbols for (__DATA,__la_symbol_ptr) 1 entries +CHECK: address index name +CHECK: 0x0000000100001010 2 _printf |