llvm-6502/lib/Object
Rafael Espindola 8a80641a85 Return ErrorOr from SymbolRef::getName.
This function can really fail since the string table offset can be out of
bounds.

Using ErrorOr makes sure the error is checked.

Hopefully a lot of the boilerplate code in tools/* can go away once we have
a diagnostic manager in Object.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241297 91177308-0d34-0410-b5e6-96231b3b80d8
2015-07-02 20:55:21 +00:00
..
Archive.cpp Remove object_error::success and use std::error_code() instead 2015-06-09 15:20:42 +00:00
ArchiveWriter.cpp [ArchiveWriter] Use EndianStream. No functional change intended. 2015-06-17 16:02:56 +00:00
Binary.cpp Object: Handle Mach-O kext bundle files 2015-02-25 22:59:20 +00:00
CMakeLists.txt Revert "[FaultMaps] Move FaultMapParser to Object/" 2015-06-23 20:09:03 +00:00
COFFObjectFile.cpp Return ErrorOr from SymbolRef::getName. 2015-07-02 20:55:21 +00:00
COFFYAML.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
ELF.cpp Remove duplication of relocation names in lib/Object/ELF.cpp 2014-11-21 20:16:07 +00:00
ELFObjectFile.cpp [Object, ELF] Don't assert on invalid magic in createELFObjectFile. 2015-06-04 23:14:43 +00:00
ELFYAML.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
Error.cpp Return ErrorOr from getSection. 2015-07-01 12:56:27 +00:00
IRObjectFile.cpp Simplify the Mangler interface now that DataLayout is mandatory. 2015-06-23 13:59:29 +00:00
LLVMBuild.txt Object/LLVMBuild.txt: Sort required_libraries by alphabetical order. 2014-07-14 02:52:08 +00:00
MachOObjectFile.cpp Return ErrorOr from SymbolRef::getName. 2015-07-02 20:55:21 +00:00
MachOUniversal.cpp [Object] Search for architecures by name in MachOUniversalBinary::getObjectForArch() 2015-06-22 21:33:24 +00:00
Makefile
Object.cpp Return ErrorOr from SymbolRef::getName. 2015-07-02 20:55:21 +00:00
ObjectFile.cpp Return ErrorOr from SymbolRef::getName. 2015-07-02 20:55:21 +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 Object: Handle Mach-O kext bundle files 2015-02-25 22:59:20 +00:00
SymbolSize.cpp [SymbolSize] Skip sorting by index, just assign by index. 2015-06-29 16:05:00 +00:00