1 ## Test that llvm-readobj/llvm-readelf shows proper relocation type
2 ## names and values for macho-x64 target.
5 # RUN: llvm-readobj -r --expand-relocs %p/Inputs/relocs.obj.macho-x86_64 | FileCheck %s
7 # CHECK: Type: X86_64_RELOC_UNSIGNED (0)
8 # CHECK: Type: X86_64_RELOC_SIGNED (1)
9 # CHECK: Type: X86_64_RELOC_BRANCH (2)
10 # CHECK: Type: X86_64_RELOC_GOT_LOAD (3)
11 # CHECK: Type: X86_64_RELOC_GOT (4)
12 # CHECK: Type: X86_64_RELOC_SUBTRACTOR (5)
13 # CHECK: Type: X86_64_RELOC_SIGNED_1 (6)
14 # CHECK: Type: X86_64_RELOC_SIGNED_2 (7)
15 # CHECK: Type: X86_64_RELOC_SIGNED_4 (8)
16 # CHECK: Type: X86_64_RELOC_TLV (9)