[ExecutionEngine] Correct the size of a write in a COFF i386 relocation
authorShoaib Meenai <smeenai@fb.com>
Tue, 17 Oct 2017 01:41:14 +0000 (01:41 +0000)
committerShoaib Meenai <smeenai@fb.com>
Tue, 17 Oct 2017 01:41:14 +0000 (01:41 +0000)
commita42f60e7f7f745a3d7ab9ba4c31044cb16391aa0
treeec38debabbba88401bdf58ad00595dc791352287
parent4d1969f22b28356ae37e0b2025c39d4623fe4235
[ExecutionEngine] Correct the size of a write in a COFF i386 relocation

We want to be writing a 32bit value, so we should be writing 4 bytes
instead of 2.

Patch by Alex Langford <apl@fb.com>.

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

llvm-svn: 315964
llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFI386.h
llvm/test/ExecutionEngine/RuntimeDyld/X86/COFF_i386.s