llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld
Lang Hames 7a598477aa [RuntimeDyld][PowerPC] Use global entry points for calls between sections.
Functions in different objects may use different TOCs, so calls between such
functions should use the global entry point of the callee which updates the
TOC pointer.

This should fix a bug that the Numba developers encountered (see
https://github.com/numba/numba/issues/2451).

Patch by Olexa Bilaniuk. Thanks Olexa!

No RuntimeDyld checker test case yet as I am not familiar enough with how
RuntimeDyldELF fixes up call-sites, but I do not want to hold up landing
this. I will continue to work on it and see if I can rope some powerpc
experts in.

llvm-svn: 329335
2018-04-05 19:37:05 +00:00
..
Targets Reapply r329133 with fix. 2018-04-04 00:34:54 +00:00
CMakeLists.txt [mips][rtdyld] Move MIPS relocation resolution to a subclass and implement N32 relocations 2016-12-13 11:39:18 +00:00
JITSymbol.cpp [ORC] Add orc::SymbolResolver, a Orc/Legacy API interop header, and an 2018-01-22 03:00:31 +00:00
LLVMBuild.txt
RTDyldMemoryManager.cpp [ExecutionEngine] Make RuntimeDyld::MemoryManager responsible for tracking EH 2017-05-09 21:32:18 +00:00
RuntimeDyld.cpp [RuntimeDyld] Silence a compiler error. 2018-03-14 06:39:49 +00:00
RuntimeDyldCOFF.cpp DebugInfo: Generalize LoadedObjectInfoHelper from RuntimeDyld 2017-07-05 15:23:56 +00:00
RuntimeDyldCOFF.h
RuntimeDyldChecker.cpp [ORC] Add orc::SymbolResolver, a Orc/Legacy API interop header, and an 2018-01-22 03:00:31 +00:00
RuntimeDyldCheckerImpl.h Make llvm-rtdlyd -check preserve automatic address mappings made by RuntimeDyld. 2017-05-07 17:19:53 +00:00
RuntimeDyldELF.cpp [RuntimeDyld][PowerPC] Use global entry points for calls between sections. 2018-04-05 19:37:05 +00:00
RuntimeDyldELF.h [mips] Adds support for R_MIPS_26, HIGHER, HIGHEST relocations in RuntimeDyld. 2017-10-22 09:47:41 +00:00
RuntimeDyldImpl.h [ExecutionEngine] Add a getSymbolTable method to RuntimeDyld. 2018-03-14 06:25:07 +00:00
RuntimeDyldMachO.cpp [RuntimeDyld][ORC] Add support for Thumb mode to RuntimeDyldMachOARM. 2017-08-09 20:19:27 +00:00
RuntimeDyldMachO.h [RuntimeDyld][ORC] Add support for Thumb mode to RuntimeDyldMachOARM. 2017-08-09 20:19:27 +00:00