1 RUN: llvm-objdump -macho -indirect-symbols %p/Inputs/hello.exe.macho-x86_64 | FileCheck %s
2 RUN: llvm-objdump -macho -indirect-symbols -non-verbose %p/Inputs/hello.exe.macho-x86_64 | FileCheck %s -check-prefix=NON_VERBOSE
4 CHECK: Indirect symbols for (__TEXT,__stubs) 1 entries
5 CHECK: address index name
6 CHECK: 0x0000000100000f6c 2 _printf
7 CHECK: Indirect symbols for (__DATA,__nl_symbol_ptr) 2 entries
8 CHECK: address index name
9 CHECK: 0x0000000100001000 3 dyld_stub_binder
10 CHECK: 0x0000000100001008 ABSOLUTE
11 CHECK: Indirect symbols for (__DATA,__la_symbol_ptr) 1 entries
12 CHECK: address index name
13 CHECK: 0x0000000100001010 2 _printf
15 NON_VERBOSE: Indirect symbols for (__TEXT,__stubs) 1 entries
16 NON_VERBOSE: address index
17 NON_VERBOSE: 0x0000000100000f6c 2
18 NON_VERBOSE: Indirect symbols for (__DATA,__nl_symbol_ptr) 2 entries
19 NON_VERBOSE: address index
20 NON_VERBOSE: 0x0000000100001000 3
21 NON_VERBOSE: 0x0000000100001008 ABSOLUTE
22 NON_VERBOSE: Indirect symbols for (__DATA,__la_symbol_ptr) 1 entries
23 NON_VERBOSE: address index
24 NON_VERBOSE: 0x0000000100001010 2