llvm/lib/ExecutionEngine/RuntimeDyld
Lang Hames 264a325a90 [MCJIT] Improve the "stub not found" diagnostic in RuntimeDyldChecker.
A "stub found found" diagnostic is emitted when RuntimeDyldChecker's stub lookup
logic fails to find the requested stub. The obvious reason for the failure is
that no such stub has been created, but it can also fail for internal symbols if
the symbol offset is not computed correctly (E.g. due to a mangled relocation
addend). This patch adds a comment about the latter case so that it's not
overlooked.

Inspired by confusion experienced during test case construction for r217635.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217643 91177308-0d34-0410-b5e6-96231b3b80d8
2014-09-11 23:09:22 +00:00
..
Targets [MCJIT] Add support for ARM HALF_DIFF relocations to MCJIT. 2014-09-11 19:21:14 +00:00
CMakeLists.txt [RuntimeDyld] Add a framework for testing relocation logic in RuntimeDyld. 2014-06-27 20:20:57 +00:00
GDBRegistrar.cpp [C++] Use 'nullptr'. 2014-04-24 06:44:33 +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 [MCJIT] Fix a bug RuntimeDyldImpl's read/writeBytesUnaligned methods. 2014-09-07 02:05:26 +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 [MCJIT] Revert partial RuntimeDyldELF cleanup that was prematurely committed in 2014-09-07 04:13:13 +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 [MCJIT] Add support for ARM HALF_DIFF relocations to MCJIT. 2014-09-11 19:21:14 +00:00
RuntimeDyldMachO.h [MCJIT] Add support for ARM HALF_DIFF relocations to MCJIT. 2014-09-11 19:21:14 +00:00