diff options
author | Nick Kledzik <kledzik@apple.com> | 2014-09-16 01:41:51 +0000 |
---|---|---|
committer | Nick Kledzik <kledzik@apple.com> | 2014-09-16 01:41:51 +0000 |
commit | 56ebef45efe4807fba24d61f97eface88a6e2b46 (patch) | |
tree | a2d35290a0cef4b437a78b0ce1e060ba90f3af47 /llvm/test/tools/llvm-objdump/macho-weak-bind.test | |
parent | b01fe40c07747f8353584d3fb9a1e066565ae24c (diff) | |
download | bcm5719-llvm-56ebef45efe4807fba24d61f97eface88a6e2b46.tar.gz bcm5719-llvm-56ebef45efe4807fba24d61f97eface88a6e2b46.zip |
[llvm-objdump] for mach-o add -bind, -lazy-bind, and -weak-bind options
This finishes the ability of llvm-objdump to print out all information from
the LC_DYLD_INFO load command.
The -bind option prints out symbolic references that dyld must resolve
immediately.
The -lazy-bind option prints out symbolc reference that are lazily resolved on
first use.
The -weak-bind option prints out information about symbols which dyld must
try to coalesce across images.
llvm-svn: 217853
Diffstat (limited to 'llvm/test/tools/llvm-objdump/macho-weak-bind.test')
-rw-r--r-- | llvm/test/tools/llvm-objdump/macho-weak-bind.test | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-objdump/macho-weak-bind.test b/llvm/test/tools/llvm-objdump/macho-weak-bind.test new file mode 100644 index 00000000000..9f1aa33773e --- /dev/null +++ b/llvm/test/tools/llvm-objdump/macho-weak-bind.test @@ -0,0 +1,10 @@ +# RUN: llvm-objdump -macho -weak-bind -arch x86_64 \ +# RUN: %p/Inputs/weak-bind.macho-x86_64 | FileCheck %s + + +# CHECK: __DATA __data 0x100001018 pointer 0 __ZTISt12out_of_range +# CHECK: __DATA __data 0x100001020 pointer 0 __ZTISt12out_of_range +# CHECK: __DATA __data 0x100001028 pointer 0 __ZTISt12out_of_range +# CHECK: strong __ZdlPv +# CHECK: __DATA __data 0x100001018 pointer 0 __Znam +# CHECK: strong __Znwm |