Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / tools / llvm-objdump / MachO / indirect-symbols.test
blob1615109b78e06addff689946b84aa7228bce623a
1 RUN: llvm-objdump --macho --indirect-symbols %p/Inputs/hello.exe.macho-x86_64 | FileCheck %s
2 RUN: llvm-otool -Iv %p/Inputs/hello.exe.macho-x86_64 | FileCheck %s
3 RUN: llvm-objdump --macho --indirect-symbols --non-verbose %p/Inputs/hello.exe.macho-x86_64 | FileCheck %s --check-prefix=NON_VERBOSE
4 RUN: llvm-otool -I %p/Inputs/hello.exe.macho-x86_64 | FileCheck %s --check-prefix=NON_VERBOSE
6 CHECK: Indirect symbols for (__TEXT,__stubs) 1 entries
7 CHECK: address            index name
8 CHECK: 0x0000000100000f6c     2 _printf
9 CHECK: Indirect symbols for (__DATA,__nl_symbol_ptr) 2 entries
10 CHECK: address            index name
11 CHECK: 0x0000000100001000     3 dyld_stub_binder
12 CHECK: 0x0000000100001008 ABSOLUTE
13 CHECK: Indirect symbols for (__DATA,__la_symbol_ptr) 1 entries
14 CHECK: address            index name
15 CHECK: 0x0000000100001010     2 _printf
17 NON_VERBOSE: Indirect symbols for (__TEXT,__stubs) 1 entries
18 NON_VERBOSE: address            index
19 NON_VERBOSE: 0x0000000100000f6c     2 
20 NON_VERBOSE: Indirect symbols for (__DATA,__nl_symbol_ptr) 2 entries
21 NON_VERBOSE: address            index
22 NON_VERBOSE: 0x0000000100001000     3 
23 NON_VERBOSE: 0x0000000100001008 ABSOLUTE
24 NON_VERBOSE: Indirect symbols for (__DATA,__la_symbol_ptr) 1 entries
25 NON_VERBOSE: address            index
26 NON_VERBOSE: 0x0000000100001010     2