llvm-project/llvm/test/tools/llvm-objdump/macho-lazy-bind.test
Nick Kledzik 56ebef45ef [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
2014-09-16 01:41:51 +00:00

8 lines
343 B
Plaintext

# RUN: llvm-objdump -macho -lazy-bind -arch x86_64 \
# RUN: %p/Inputs/lazy-bind.macho-x86_64 | FileCheck %s
# CHECK: __DATA __la_symbol_ptr 0x100001010 libfoo.dylib _foo
# CHECK: __DATA __la_symbol_ptr 0x100001018 libbar.dylib _bar
# CHECK: __DATA __la_symbol_ptr 0x100001020 libSystem.B.dylib _malloc