Add the option, -non-verbose to llvm-objdump used with -macho to print things
[oota-llvm.git] / test / tools / llvm-objdump / ARM / macho-data-in-code.test
1 RUN: llvm-objdump -m -data-in-code %p/Inputs/data-in-code.macho-arm | FileCheck %s
2 RUN: llvm-objdump -m -data-in-code -non-verbose %p/Inputs/data-in-code.macho-arm | FileCheck %s -check-prefix=NON_VERBOSE
3
4 CHECK: Data in code table (4 entries)
5 CHECK: offset     length kind
6 CHECK: 0x00000000      4 DATA
7 CHECK: 0x00000004      4 JUMP_TABLE32
8 CHECK: 0x00000008      2 JUMP_TABLE16
9 CHECK: 0x0000000a      1 JUMP_TABLE8
10
11 NON_VERBOSE: Data in code table (4 entries)
12 NON_VERBOSE: offset     length kind
13 NON_VERBOSE: 0x00000000      4 0x0001
14 NON_VERBOSE: 0x00000004      4 0x0004
15 NON_VERBOSE: 0x00000008      2 0x0003
16 NON_VERBOSE: 0x0000000a      1 0x0002