aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2016-12-21 08:21:34 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2016-12-21 08:21:34 +0000
commitdcf5b72e20e331ee90450029033bb993dbf69cbd (patch)
tree10fa699538cc3271e4f481da411c0a1c826ab729 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent4fb6e79c65527b5617fe859c4c4a7d232281d2dd (diff)
downloadllvm-dcf5b72e20e331ee90450029033bb993dbf69cbd.zip
llvm-dcf5b72e20e331ee90450029033bb993dbf69cbd.tar.gz
llvm-dcf5b72e20e331ee90450029033bb993dbf69cbd.tar.bz2
[ELF] - Do not call fatal() in Target.cpp, call error() instead.
We probably would want to avoid fatal() if we can in context of librarification, but for me reason of that patch is to help D27900 go. D27900 changes errors reporting to something like error: text1 note: text2 note: text3 where hint used to provide additional information about location. In that case I can't just call fatal() because user will not see notes after that what adds additional complication to handle. So It is good to switch fatal() to error() where it is possible. Also it adds testcase with broken relocation number. Previously we did not have any, It checks that error() instead of fatal() works fine. Differential revision: https://reviews.llvm.org/D27973 llvm-svn: 290239
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions