1## Test that llvm-readobj/llvm-readelf shows proper relocation type 2## names and values for macho-i386 target. 3 4## TODO: use yaml2obj. 5# RUN: llvm-readobj -r --expand-relocs %p/Inputs/relocs.obj.macho-i386 | FileCheck %s 6 7# CHECK: Type: GENERIC_RELOC_VANILLA (0) 8# CHECK: Type: GENERIC_RELOC_PAIR (1) 9# CHECK: Type: GENERIC_RELOC_SECTDIFF (2) 10# CHECK: Type: GENERIC_RELOC_PB_LA_PTR (3) 11# CHECK: Type: GENERIC_RELOC_LOCAL_SECTDIFF (4) 12# CHECK: Type: GENERIC_RELOC_TLV (5) 13