llvm/lib
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
..
Analysis [BasicAA] Revert "Revert r218714 - Make better use of zext and sign information." 2014-10-06 18:37:59 +00:00
AsmParser Make CallingConv::ID an alias of "unsigned". 2014-09-10 18:00:17 +00:00
Bitcode Do not destroy external linkage when deleting function body 2014-09-23 12:54:19 +00:00
CodeGen Use the TargetLowering information we already have on the 2014-10-08 09:50:54 +00:00
DebugInfo Remove bogus std::error_code returns form SectionRef. 2014-10-08 15:28:58 +00:00
ExecutionEngine Remove bogus std::error_code returns form SectionRef. 2014-10-08 15:28:58 +00:00
IR DebugInfo: Ensure that all debug location scope chains from instructions within a function, lead to the function itself. 2014-10-07 16:56:20 +00:00
IRReader Pass a && to getLazyBitcodeModule. 2014-09-03 17:31:46 +00:00
LineEditor [CMake] Use LINK_LIBS instead of target_link_libraries(). 2014-02-26 06:41:29 +00:00
Linker Merge alignment of common GlobalValue. 2014-09-09 17:48:18 +00:00
LTO LTO: Document the Boolean argument from r218784 2014-10-02 21:11:04 +00:00
MC COFF: Don't oversize COMMON symbols when targeting BFD ld 2014-10-08 06:38:53 +00:00
Object Remove bogus std::error_code returns form SectionRef. 2014-10-08 15:28:58 +00:00
Option Add an overload of getLastArgNoClaim taking two OptSpecifiers. 2014-09-12 19:42:53 +00:00
ProfileData Remove bogus std::error_code returns form SectionRef. 2014-10-08 15:28:58 +00:00
Support Unix/Process: Don't use pthread_sigmask if we aren't built with threads 2014-10-08 08:48:43 +00:00
TableGen Eliminate some deep std::vector copies. NFC. 2014-10-03 18:33:16 +00:00
Target [AVX512] Refactoring of avx512_binop_rm multiclass through AVX512_masking. 2014-10-08 14:37:45 +00:00
Transforms Format spacing and remove extra lines to comply with standards. NFC. 2014-10-08 08:37:49 +00:00
CMakeLists.txt ProfileData: Introduce the InstrProfReader interface and a text reader 2014-03-21 17:24:48 +00:00
LLVMBuild.txt ProfileData: Introduce the InstrProfReader interface and a text reader 2014-03-21 17:24:48 +00:00
Makefile ProfileData: Introduce the InstrProfReader interface and a text reader 2014-03-21 17:24:48 +00:00