summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorJordan Rupprecht <rupprecht@google.com>2018-10-11 17:55:11 +0000
committerJordan Rupprecht <rupprecht@google.com>2018-10-11 17:55:11 +0000
commit1845645b0d689ce4562fec7ed7e7d975f0be987e (patch)
treeee00cc0ac2803ac93219ef085f24ab9552dcfa1e /llvm/lib
parent480a5075ad527eb8fc73a78d9eda25b07e2884b7 (diff)
downloadbcm5719-llvm-1845645b0d689ce4562fec7ed7e7d975f0be987e.tar.gz
bcm5719-llvm-1845645b0d689ce4562fec7ed7e7d975f0be987e.zip
[llvm-nm] Fix crash when running with --print-armap on corrupt archives.
error() in llvm-nm intentionally does not return so that the callee can move on to future files/slices. When printing the archive map, this is not currently handled (the caller assumes that error() returns), so processing continues despite there being an error. Also, change one return to a break, so that symbols can be printed even if the archive map is corrupt. llvm-svn: 344268
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud