summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2019-02-07 18:12:57 +0000
committerRui Ueyama <ruiu@google.com>2019-02-07 18:12:57 +0000
commit04cbd988f9452c24dcb0353d674f859761952d21 (patch)
treec80c1160414dbccb4106d55043fed714e885363e /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent93fdec739bd05df0193e52584db3218678270d72 (diff)
Fix a bug in R_X86_64_PC{8,16} relocation handling.
R_X86_64_PC{8,16} relocations are sign-extended, so when we check for relocation overflow, we had to use checkInt instead of checkUInt. I confirmed that GNU linkers create the same output for the test case. llvm-svn: 353437
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions