[llvm] r214613 - [MCJIT] Fix an overly-aggressive check in RuntimeDyldMachOARM.
Lang Hames
lhames at gmail.com
Fri Aug 1 20:00:49 PDT 2014
Author: lhames
Date: Fri Aug 1 22:00:49 2014
New Revision: 214613
URL: http://llvm.org/viewvc/llvm-project?rev=214613&view=rev
Log:
[MCJIT] Fix an overly-aggressive check in RuntimeDyldMachOARM.
This should fix the MachO_ARM_PIC_relocations.s test failures on some 32-bit
testers.
Modified:
llvm/trunk/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h
Modified: llvm/trunk/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h?rev=214613&r1=214612&r2=214613&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h (original)
+++ llvm/trunk/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h Fri Aug 1 22:00:49 2014
@@ -105,11 +105,6 @@ public:
Value >>= 2;
// Mask the value to 24 bits.
uint64_t FinalValue = Value & 0xffffff;
- // Check for overflow.
- if (Value != FinalValue) {
- Error("ARM BR24 relocation out of range.");
- return;
- }
// FIXME: If the destination is a Thumb function (and the instruction
// is a non-predicated BL instruction), we need to change it to a BLX
// instruction instead.
More information about the llvm-commits
mailing list