1 RUN: llvm-objdump --macho -r %p/Inputs/hello.obj.macho-x86_64 | \
2 RUN: FileCheck --check-prefix=VERBOSE %s
3 RUN: llvm-otool -rv %p/Inputs/hello.obj.macho-x86_64 | \
4 RUN: FileCheck --check-prefix=VERBOSE %s
5 RUN: llvm-objdump --macho -r --non-verbose %p/Inputs/hello.obj.macho-x86_64 | \
6 RUN: FileCheck --check-prefix=NONVERBOSE %s
7 RUN: llvm-otool -r %p/Inputs/hello.obj.macho-x86_64 | \
8 RUN: FileCheck --check-prefix=NONVERBOSE %s
10 VERBOSE: Relocation information (__TEXT,__text) 2 entries
11 VERBOSE-NEXT: address pcrel length extern type scattered symbolnum/value
12 VERBOSE-NEXT: 00000027 True long True BRANCH False _printf
13 VERBOSE-NEXT: 0000000b True long True SIGNED False L_.str
14 VERBOSE-NEXT: Relocation information (__LD,__compact_unwind) 1 entries
15 VERBOSE-NEXT: address pcrel length extern type scattered symbolnum/value
16 VERBOSE-NEXT: 00000000 False quad False UNSIGND False 1 (__TEXT,__text)
18 NONVERBOSE: Relocation information (__TEXT,__text) 2 entries
19 NONVERBOSE-NEXT: address pcrel length extern type scattered symbolnum/value
20 NONVERBOSE-NEXT: 00000027 1 2 1 2 0 4
21 NONVERBOSE-NEXT: 0000000b 1 2 1 1 0 0
22 NONVERBOSE-NEXT: Relocation information (__LD,__compact_unwind) 1 entries
23 NONVERBOSE-NEXT: address pcrel length extern type scattered symbolnum/value
24 NONVERBOSE-NEXT: 00000000 0 3 0 0 0 1