Files
clang-p2996/llvm/test/tools/llvm-objdump/ARM/macho-reloc-half.test
Martin Storsjo fa5183b028 [llvm-objdump] Correctly distinguish between the MachO upper/lower16 relocations
All other code in MachODump.cpp uses the same comparison,
((r_length & 0x1) == 1), for distinguishing between the two,
while the code in llvm-objdump.cpp seemed to be incorrect.

Differential Revision: https://reviews.llvm.org/D35240

llvm-svn: 307882
2017-07-13 05:54:08 +00:00

5 lines
186 B
Plaintext

RUN: llvm-objdump -r %p/Inputs/reloc-half.obj.macho-arm | FileCheck %s
CHECK-DAG: 00000004 ARM_RELOC_HALF :upper16:(_stringbuf)
CHECK-DAG: 00000000 ARM_RELOC_HALF :lower16:(_stringbuf)