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