[COFF] Check the instructions in ARM MOV32T relocations
authorMartin Storsjo <martin@martin.st>
Mon, 27 Aug 2018 06:04:36 +0000 (06:04 +0000)
committerMartin Storsjo <martin@martin.st>
Mon, 27 Aug 2018 06:04:36 +0000 (06:04 +0000)
commitc4b0061c0525ff268947e35c1dc9eefced26c083
treebc8b094e37c2c3f39edbe84507367463e49f4ec3
parent266b858705f96b24f16909ab4471b6f1514af1ca
[COFF] Check the instructions in ARM MOV32T relocations

For this relocation, which applies to two consecutive instructions,
it's plausible that the second instruction might not actually be
the right one.

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

llvm-svn: 340715
lld/COFF/Chunks.cpp
lld/test/COFF/broken-arm-reloc.yaml [new file with mode: 0644]