xref: /aosp_15_r20/external/llvm/test/tools/llvm-objdump/X86/macho-indirect-symbols.test (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard WorkerRUN: llvm-objdump -macho -indirect-symbols %p/Inputs/hello.exe.macho-x86_64 | FileCheck %s
2*9880d681SAndroid Build Coastguard WorkerRUN: llvm-objdump -macho -indirect-symbols -non-verbose %p/Inputs/hello.exe.macho-x86_64 | FileCheck %s -check-prefix=NON_VERBOSE
3*9880d681SAndroid Build Coastguard Worker
4*9880d681SAndroid Build Coastguard WorkerCHECK: Indirect symbols for (__TEXT,__stubs) 1 entries
5*9880d681SAndroid Build Coastguard WorkerCHECK: address            index name
6*9880d681SAndroid Build Coastguard WorkerCHECK: 0x0000000100000f6c     2 _printf
7*9880d681SAndroid Build Coastguard WorkerCHECK: Indirect symbols for (__DATA,__nl_symbol_ptr) 2 entries
8*9880d681SAndroid Build Coastguard WorkerCHECK: address            index name
9*9880d681SAndroid Build Coastguard WorkerCHECK: 0x0000000100001000     3 dyld_stub_binder
10*9880d681SAndroid Build Coastguard WorkerCHECK: 0x0000000100001008 ABSOLUTE
11*9880d681SAndroid Build Coastguard WorkerCHECK: Indirect symbols for (__DATA,__la_symbol_ptr) 1 entries
12*9880d681SAndroid Build Coastguard WorkerCHECK: address            index name
13*9880d681SAndroid Build Coastguard WorkerCHECK: 0x0000000100001010     2 _printf
14*9880d681SAndroid Build Coastguard Worker
15*9880d681SAndroid Build Coastguard WorkerNON_VERBOSE: Indirect symbols for (__TEXT,__stubs) 1 entries
16*9880d681SAndroid Build Coastguard WorkerNON_VERBOSE: address            index
17*9880d681SAndroid Build Coastguard WorkerNON_VERBOSE: 0x0000000100000f6c     2
18*9880d681SAndroid Build Coastguard WorkerNON_VERBOSE: Indirect symbols for (__DATA,__nl_symbol_ptr) 2 entries
19*9880d681SAndroid Build Coastguard WorkerNON_VERBOSE: address            index
20*9880d681SAndroid Build Coastguard WorkerNON_VERBOSE: 0x0000000100001000     3
21*9880d681SAndroid Build Coastguard WorkerNON_VERBOSE: 0x0000000100001008 ABSOLUTE
22*9880d681SAndroid Build Coastguard WorkerNON_VERBOSE: Indirect symbols for (__DATA,__la_symbol_ptr) 1 entries
23*9880d681SAndroid Build Coastguard WorkerNON_VERBOSE: address            index
24*9880d681SAndroid Build Coastguard WorkerNON_VERBOSE: 0x0000000100001010     2
25