aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/Analysis.cpp
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2016-01-22 18:47:14 +0000
committerKevin Enderby <enderby@apple.com>2016-01-22 18:47:14 +0000
commitf681ec5db15fc039d3c94ac03032f7b87788160d (patch)
tree428d3a39f901f7513cf8badb4b2a4e32cee936ba /llvm/lib/CodeGen/Analysis.cpp
parentae108c47043a93b0cb3c775ebe79588324c305d6 (diff)
downloadllvm-f681ec5db15fc039d3c94ac03032f7b87788160d.zip
llvm-f681ec5db15fc039d3c94ac03032f7b87788160d.tar.gz
llvm-f681ec5db15fc039d3c94ac03032f7b87788160d.tar.bz2
Fix MachOObjectFile::getSymbolName() to not call report_fatal_error()
but to return object_error::parse_failed.  Then made the code in llvm-nm do for Mach-O files what is done in the darwin native tools which is to print "bad string index" for bad string indexes. Updated the error message in the llvm-objdump test, and added tests to show llvm-nm prints "bad string index" and a test to print the actual bad string index value which in this case is 0xfe000002 when printing the fields as raw hex. llvm-svn: 258520
Diffstat (limited to 'llvm/lib/CodeGen/Analysis.cpp')
0 files changed, 0 insertions, 0 deletions