blob: 5b14933840ed86367b4e6c1ca00c9f515d2f8690 [file] [log] [blame]
## Test that llvm-readobj/llvm-readelf shows proper relocation type
## names and values for macho-i386 target.
## TODO: use yaml2obj.
# RUN: llvm-readobj -r --expand-relocs %p/Inputs/relocs.obj.macho-i386 | FileCheck %s
# CHECK: Type: GENERIC_RELOC_VANILLA (0)
# CHECK: Type: GENERIC_RELOC_PAIR (1)
# CHECK: Type: GENERIC_RELOC_SECTDIFF (2)
# CHECK: Type: GENERIC_RELOC_PB_LA_PTR (3)
# CHECK: Type: GENERIC_RELOC_LOCAL_SECTDIFF (4)
# CHECK: Type: GENERIC_RELOC_TLV (5)