mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-15 03:26:05 +00:00
Add the option, -indirect-symbols, used with -macho to print the Mach-O indirect symbol table to llvm-objdump.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226848 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
12
test/tools/llvm-objdump/X86/macho-indirect-symbols.test
Normal file
12
test/tools/llvm-objdump/X86/macho-indirect-symbols.test
Normal file
@@ -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
|
Reference in New Issue
Block a user