mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-01 03:46:06 +00:00

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
8 lines
343 B
Plaintext
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
|