mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-05 11:17:53 +00:00
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217853 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
7
test/tools/llvm-objdump/macho-lazy-bind.test
Normal file
7
test/tools/llvm-objdump/macho-lazy-bind.test
Normal file
@@ -0,0 +1,7 @@
|
||||
# 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
|
Reference in New Issue
Block a user