25 lines · plain
1RUN: llvm-objdump --macho -r %p/Inputs/hello.obj.macho-x86_64 | \2RUN: FileCheck --check-prefix=VERBOSE %s3RUN: llvm-otool -rv %p/Inputs/hello.obj.macho-x86_64 | \4RUN: FileCheck --check-prefix=VERBOSE %s5RUN: llvm-objdump --macho -r --non-verbose %p/Inputs/hello.obj.macho-x86_64 | \6RUN: FileCheck --check-prefix=NONVERBOSE %s7RUN: llvm-otool -r %p/Inputs/hello.obj.macho-x86_64 | \8RUN: FileCheck --check-prefix=NONVERBOSE %s9 10VERBOSE: Relocation information (__TEXT,__text) 2 entries11VERBOSE-NEXT: address pcrel length extern type scattered symbolnum/value12VERBOSE-NEXT: 00000027 True long True BRANCH False _printf13VERBOSE-NEXT: 0000000b True long True SIGNED False L_.str14VERBOSE-NEXT: Relocation information (__LD,__compact_unwind) 1 entries15VERBOSE-NEXT: address pcrel length extern type scattered symbolnum/value16VERBOSE-NEXT: 00000000 False quad False UNSIGND False 1 (__TEXT,__text)17 18NONVERBOSE: Relocation information (__TEXT,__text) 2 entries19NONVERBOSE-NEXT: address pcrel length extern type scattered symbolnum/value20NONVERBOSE-NEXT: 00000027 1 2 1 2 0 421NONVERBOSE-NEXT: 0000000b 1 2 1 1 0 022NONVERBOSE-NEXT: Relocation information (__LD,__compact_unwind) 1 entries23NONVERBOSE-NEXT: address pcrel length extern type scattered symbolnum/value24NONVERBOSE-NEXT: 00000000 0 3 0 0 0 125