summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorSean Fertile <sfertile@ca.ibm.com>2019-01-10 15:08:02 +0000
committerSean Fertile <sfertile@ca.ibm.com>2019-01-10 15:08:02 +0000
commit461725b58500a63585ce4dc5aa97ce2b6b17a33f (patch)
tree3fa36506c04f1ec2ee7433647bb452929be36d6d /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parented5cfc6792a8a5ac2b90fc114ff1447d609604e3 (diff)
[PPC64] Fix RelType in checkInt and checkAlignment diagnsotics.
In the PPC64 target we map toc-relative relocations, dynamic thread pointer relative relocations, and got relocations into a corresponding ADDR16 relocation type for handling in relocateOne. This patch saves the orignal RelType before mapping to an ADDR16 relocation so that any diagnostic messages will not mistakenly use the mapped type. Differential Revision: https://reviews.llvm.org/D56448 llvm-svn: 350827
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions