llvm-6502/lib/Object
Rafael Espindola 8175be535a Remove bogus std::error_code returns form SectionRef.
There are two methods in SectionRef that can fail:

* getName: The index into the string table can be invalid.
* getContents: The section might point to invalid contents.

Every other method will always succeed and returning and std::error_code just
complicates the code. For example, a section can have an invalid alignment,
but if we are able to get to the section structure at all and create a
SectionRef, we will always be able to read that invalid alignment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219314 91177308-0d34-0410-b5e6-96231b3b80d8
2014-10-08 15:28:58 +00:00
..
Archive.cpp
Binary.cpp unique_ptrify MachOUniversalBinary::create 2014-09-03 17:41:05 +00:00
CMakeLists.txt
COFFObjectFile.cpp Remove bogus std::error_code returns form SectionRef. 2014-10-08 15:28:58 +00:00
COFFYAML.cpp
ELF.cpp
ELFObjectFile.cpp
ELFYAML.cpp
Error.cpp Converting object's error_category to a ManagedStatic to avoid static constructors and destructors. 2014-09-19 22:09:18 +00:00
IRObjectFile.cpp LTO: introduce object file-based on-disk module format. 2014-09-18 21:28:49 +00:00
LLVMBuild.txt
MachOObjectFile.cpp Remove bogus std::error_code returns form SectionRef. 2014-10-08 15:28:58 +00:00
MachOUniversal.cpp unique_ptrify MachOUniversalBinary::create 2014-09-03 17:41:05 +00:00
Makefile
Object.cpp Remove bogus std::error_code returns form SectionRef. 2014-10-08 15:28:58 +00:00
ObjectFile.cpp
RecordStreamer.cpp
RecordStreamer.h
SymbolicFile.cpp LTO: introduce object file-based on-disk module format. 2014-09-18 21:28:49 +00:00