1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/lib/ExecutionEngine/RuntimeDyld
Maksim Panchenko 3442ee8292 [RuntimeDyld] Speedup resolution of relocations to external symbols
From what I can tell, the loop inside applyExternalSymbolRelocations()
used to call getSymbolAddress(). After the JITSymbolResolver interface
redesign, the functionality has changed, and the loop should no longer
trigger repopulation of ExternalSymbolRelocations. If that's the case,
there is no need to update the loop iterator manually, and
ExternalSymbolRelocations can be cleared at once. This way, when there
are many external symbols in the program, the function runs much faster.

Reviewed By: lhames

Differential Revision: https://reviews.llvm.org/D97531
2021-03-11 16:58:49 -08:00
..
Targets
CMakeLists.txt llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
JITSymbol.cpp
RTDyldMemoryManager.cpp [CMake][ExecutionEngine] add HAVE_(DE)REGISTER_FRAME as a config.h macros 2020-11-10 13:09:44 -05:00
RuntimeDyld.cpp [RuntimeDyld] Speedup resolution of relocations to external symbols 2021-03-11 16:58:49 -08:00
RuntimeDyldChecker.cpp [llvm] Remove redundant string initialization (NFC) 2021-01-12 21:43:46 -08:00
RuntimeDyldCheckerImpl.h
RuntimeDyldCOFF.cpp
RuntimeDyldCOFF.h
RuntimeDyldELF.cpp [RuntimeDyld] Support more relocations 2021-03-10 11:19:38 -08:00
RuntimeDyldELF.h
RuntimeDyldImpl.h [ORC] Add support for resource tracking/removal (removable code). 2020-10-18 21:02:54 -07:00
RuntimeDyldMachO.cpp
RuntimeDyldMachO.h