summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/Local.cpp
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2017-05-23 12:43:57 +0000
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2017-05-23 12:43:57 +0000
commitb6d40cceeed08876e6d633099de7c5c15f66c453 (patch)
treedb8c2e9ab426550c38be758810d7d0c56d4a93e1 /llvm/lib/Transforms/Utils/Local.cpp
parent7bccbe780e8cff390b2a8303ced884117ba20865 (diff)
downloadbcm5719-llvm-b6d40cceeed08876e6d633099de7c5c15f66c453.tar.gz
bcm5719-llvm-b6d40cceeed08876e6d633099de7c5c15f66c453.zip
[RuntimeDyld, PowerPC] Fix relocation detection overflow
Code in RuntimeDyldELF currently uses 32-bit temporaries to detect whether a PPC64 relocation target is out of range. This is incorrect, and can mis-detect overflow where the distance between relocation site and target is close to a multiple of 4GB. Fixed by using 64-bit temporaries. Noticed while debugging PR32650. Reviewer: hfinkel Differential Revision: https://reviews.llvm.org/D33403 llvm-svn: 303632
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud