aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Serialization/ModuleManager.cpp
diff options
context:
space:
mode:
authorKaelyn Takata <rikka@google.com>2014-04-14 16:50:22 +0000
committerKaelyn Takata <rikka@google.com>2014-04-14 16:50:22 +0000
commitf9d483128cae3b4b11923d3477752dc92e9decb2 (patch)
treee8f15c00dfc5005fa5dc541363f63535e577e5a9 /clang/lib/Serialization/ModuleManager.cpp
parent95d570335ce3ce35519073732dc185eeb701823f (diff)
downloadllvm-f9d483128cae3b4b11923d3477752dc92e9decb2.zip
llvm-f9d483128cae3b4b11923d3477752dc92e9decb2.tar.gz
llvm-f9d483128cae3b4b11923d3477752dc92e9decb2.tar.bz2
Fix up MCFixup::getAccessVariant to handle unary expressions.
This allows correct relocations to be generated for a symbolic address that is being adjusted by a negative constant. Since r204294, such expressions have triggered undefined behavior when LLVM was built without assertions. Credit goes to Rafael for this patch; I'm submitting it on his behalf as he is on vacation this week. llvm-svn: 206192
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions