llvm/lib/Object
Kevin Enderby 161c62450c 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@258520 91177308-0d34-0410-b5e6-96231b3b80d8
2016-01-22 18:47:14 +00:00
..
Archive.cpp Reapply r250906 with many suggested updates from Rafael Espindola. 2015-11-05 19:24:56 +00:00
ArchiveWriter.cpp Handle archives with paths in the names. 2015-12-18 16:07:17 +00:00
Binary.cpp Object: Handle Mach-O kext bundle files 2015-02-25 22:59:20 +00:00
CMakeLists.txt Support for function summary index bitcode sections and files. 2015-10-04 14:33:43 +00:00
COFFObjectFile.cpp COFF: Teach llvm-objdump how to dump DLL forwarder symbols. 2016-01-12 23:28:42 +00:00
COFFYAML.cpp [COFF] Add IMAGE_SCN_TYPE_NOLOAD to SectionCharacteristics 2015-07-30 16:47:56 +00:00
ELF.cpp [WebAssembly] Add a EM_WEBASSEMBLY value, and several bits of code that use it. 2016-01-12 20:56:01 +00:00
ELFObjectFile.cpp [Object, ELF] Don't assert on invalid magic in createELFObjectFile. 2015-06-04 23:14:43 +00:00
ELFYAML.cpp [llvm-readobj][ELF] Teach llvm-readobj to show arch specific ELF section's flags 2016-01-20 19:15:18 +00:00
Error.cpp Add dynamic_table iterators back to ELF.h. 2015-08-07 15:25:20 +00:00
FunctionIndexObjectFile.cpp Remove "ExportingModule" from ThinLTO Index (NFC) 2015-12-03 02:37:23 +00:00
IRObjectFile.cpp Use diagnostic handler in the LLVMContext 2015-12-14 23:17:03 +00:00
LLVMBuild.txt Object/LLVMBuild.txt: Sort required_libraries by alphabetical order. 2014-07-14 02:52:08 +00:00
MachOObjectFile.cpp Fix MachOObjectFile::getSymbolName() to not call report_fatal_error() 2016-01-22 18:47:14 +00:00
MachOUniversal.cpp Use early return NFC. 2015-08-03 00:10:33 +00:00
Makefile
Object.cpp Convert getSymbolSection to return an ErrorOr. 2015-08-07 23:27:14 +00:00
ObjectFile.cpp Convert getSymbolSection to return an ErrorOr. 2015-08-07 23:27:14 +00:00
RecordStreamer.cpp Move alignment from MCSectionData to MCSection. 2015-05-21 19:20:38 +00:00
RecordStreamer.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
SymbolicFile.cpp Re-apply r246276 - Object: Teach llvm-ar to create symbol table for COFF short import files 2015-08-28 07:40:30 +00:00
SymbolSize.cpp [SymbolSize] Skip sorting by index, just assign by index. 2015-06-29 16:05:00 +00:00