summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Function.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2016-08-05 18:20:31 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2016-08-05 18:20:31 +0000
commitfd063e796f4e1b9b9c8fcc2cf26f5d82b662d581 (patch)
tree2103a032259625c8bd3bbbb96a779a42c8d11b26 /llvm/lib/IR/Function.cpp
parent600fb3f28eb5e1a3ad5e04118e74cdd65def4aa3 (diff)
downloadbcm5719-llvm-fd063e796f4e1b9b9c8fcc2cf26f5d82b662d581.tar.gz
bcm5719-llvm-fd063e796f4e1b9b9c8fcc2cf26f5d82b662d581.zip
COFF ARM: Apply an existing offset in MOV32T relocations
Don't blindly OR in the new value, but clear the existing one, since it can be nonzero. Read out the existing value before, and add into the desired offset. (The add is done outside of the applyMOV, to handle potential overflow between the two.) Patch by Martin Storsjö! llvm-svn: 277846
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud