llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld
Rafael Espindola 802912743e 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.

llvm-svn: 219314
2014-10-08 15:28:58 +00:00
..
Targets Remove bogus std::error_code returns form SectionRef. 2014-10-08 15:28:58 +00:00
CMakeLists.txt [RuntimeDyld] Add a framework for testing relocation logic in RuntimeDyld. 2014-06-27 20:20:57 +00:00
GDBRegistrar.cpp Converting the JITDebugLock mutex to a ManagedStatic to avoid the static constructor and destructor. 2014-09-19 21:38:20 +00:00
JITRegistrar.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
LLVMBuild.txt Fix build following r211956 2014-06-28 06:31:47 +00:00
Makefile
ObjectImageCommon.h unique_ptrify a bunch of stuff through RuntimeDyld::loadObject 2014-09-03 19:48:09 +00:00
RuntimeDyld.cpp Remove bogus std::error_code returns form SectionRef. 2014-10-08 15:28:58 +00:00
RuntimeDyldChecker.cpp [MCJIT] Improve the "stub not found" diagnostic in RuntimeDyldChecker. 2014-09-11 23:09:22 +00:00
RuntimeDyldCheckerImpl.h [MCJIT] Add command-line argument to llvm-rtdyld to specify target addresses for 2014-09-04 04:19:54 +00:00
RuntimeDyldELF.cpp Remove bogus std::error_code returns form SectionRef. 2014-10-08 15:28:58 +00:00
RuntimeDyldELF.h unique_ptrify a bunch of stuff through RuntimeDyld::loadObject 2014-09-03 19:48:09 +00:00
RuntimeDyldImpl.h [MCJIT] Const-ify the symbol lookup operations on RuntimeDyld. 2014-09-05 18:00:16 +00:00
RuntimeDyldMachO.cpp Remove bogus std::error_code returns form SectionRef. 2014-10-08 15:28:58 +00:00
RuntimeDyldMachO.h [MCJIT] Add support for ARM HALF_DIFF relocations to MCJIT. 2014-09-11 19:21:14 +00:00