hanchenye-llvm-project/llvm/lib/Object
Kevin Enderby f681ec5db1 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
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
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
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
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
RecordStreamer.h
SymbolSize.cpp [SymbolSize] Skip sorting by index, just assign by index. 2015-06-29 16:05:00 +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