llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld
Maksim Panchenko dd832c7d3a [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 [RuntimeDyld][COFF] Report fatal error on error, rather than emiting diagnostic. 2020-10-06 15:16:29 -07:00
CMakeLists.txt llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
JITSymbol.cpp [ORC] Honor linker private global prefix on symbol names. 2020-06-15 10:28:36 -07:00
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
RuntimeDyldCOFF.cpp [Object] Change ObjectFile::getSymbolValue() return type to Expected<uint64_t> 2020-05-02 14:04:44 +08:00
RuntimeDyldCOFF.h
RuntimeDyldChecker.cpp [llvm] Remove redundant string initialization (NFC) 2021-01-12 21:43:46 -08:00
RuntimeDyldCheckerImpl.h
RuntimeDyldELF.cpp [RuntimeDyld] Support more relocations 2021-03-10 11:19:38 -08:00
RuntimeDyldELF.h RuntimeDyldELF.h - make the object namespace explicit for ELFObjectFileBase. NFC. 2020-04-23 13:52:49 +01:00
RuntimeDyldImpl.h [ORC] Add support for resource tracking/removal (removable code). 2020-10-18 21:02:54 -07:00
RuntimeDyldMachO.cpp
RuntimeDyldMachO.h