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:06 +0000
committerSean Fertile <sfertile@ca.ibm.com>2019-01-10 15:08:06 +0000
commit3ca494b2eeeede1502cc000fe7818ca2db1461c6 (patch)
tree960f1eccb64d26c8a4ee3b531cdaf55c6fac7d7f /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent461725b58500a63585ce4dc5aa97ce2b6b17a33f (diff)
Modify InputSectionBase::getLocation to add section and offset to every loc.
The section and offset can be very helpful in diagnosing certian errors. For example on a relocation overflow or misalignment diagnostic: test.c:(function foo): relocation R_PPC64_ADDR16_DS out of range: ... The function foo can have many R_PPC64_ADDR16_DS relocations. Adding the offset and section will identify exactly which relocation is causing the failure. Differential Revision: https://reviews.llvm.org/D56453 llvm-svn: 350828
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions