diff options
author | Kevin Enderby <enderby@apple.com> | 2016-01-21 21:13:27 +0000 |
---|---|---|
committer | Kevin Enderby <enderby@apple.com> | 2016-01-21 21:13:27 +0000 |
commit | 1f472eace5207f41e55953d62cc9c5b0dab31eba (patch) | |
tree | f45739dbacda44119f006be74a9241afdf092711 /llvm/lib/Transforms/Utils/Local.cpp | |
parent | f0a275e0358911794545810b96c5d160e7bd714f (diff) | |
download | bcm5719-llvm-1f472eace5207f41e55953d62cc9c5b0dab31eba.tar.gz bcm5719-llvm-1f472eace5207f41e55953d62cc9c5b0dab31eba.zip |
Fix MachOObjectFile::getSymbolSection() 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 "(?,?)" or just "s" for bad section indexes. Also added a test to show
it prints the bad section index of "42" when printing the fields as raw hex.
llvm-svn: 258434
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions