llvm-project/llvm/lib/ExecutionEngine
luxufan 849b36bf6f [JITLink][NFC] Add TableManager to replace PerGraph...Builder pass
This patch add a TableManager which reponsible for fixing edges that need entries to reference the target symbol and constructing such entries.

In the past, the PerGraphGOTAndPLTStubsBuilder pass was used to build GOT and PLT entry, and the PerGraphTLSInfoEntryBuilder pass was used to build TLSInfo entry. By generalizing the behavior of building entry, I added a TableManager which could be reused when built GOT, PLT and TLSInfo entries.

If this patch makes sense and can be accepted, I will apply the TableManager to other targets(MachO_x86_64, MachO_arm64, ELF_riscv), and delete the file PerGraphGOTAndPLTStubsBuilder.h

Reviewed By: lhames

Differential Revision: https://reviews.llvm.org/D110383
2021-10-14 23:09:53 +08:00
..
IntelJITEvents New tag for ittapi - fix an error related to cross-compiling ITTAPI in LLVM with mingw 2021-05-14 08:18:49 +03:00
Interpreter Use llvm_unreachable for unsupported integer types. 2021-06-08 17:59:05 +01:00
JITLink [JITLink][NFC] Add TableManager to replace PerGraph...Builder pass 2021-10-14 23:09:53 +08:00
MCJIT [llvm] Update report_fatal_error calls from raw_string_ostream to use Twine(OS.str()) 2021-10-05 18:42:12 +01:00
OProfileJIT llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
Orc [Orc] ELFNixPlatform::setupJITDylib - remove dead return. NFCI. 2021-10-14 12:17:40 +01:00
PerfJITEvents [perf] Fix a data race in the PerfJITEventListener 2021-06-29 08:30:31 -07:00
RuntimeDyld [ExecutionEngine] remove unused <string> includes 2021-10-07 12:07:15 +01:00
CMakeLists.txt [lli] Add JITLink in-process debug support 2021-03-02 15:07:36 +01:00
ExecutionEngine.cpp Move TargetRegistry.(h|cpp) from Support to MC 2021-10-08 14:51:48 -07:00
ExecutionEngineBindings.cpp [NFC] Cleanup more AttributeList::addAttribute() 2021-08-17 21:05:41 -07:00
GDBRegistrationListener.cpp [lli] Add JITLink in-process debug support 2021-03-02 15:07:36 +01:00
SectionMemoryManager.cpp Revert "[examples] Fix SectionMemoryManager deconstruction error with MSVC." 2021-09-17 17:42:25 +10:00
TargetSelect.cpp Move TargetRegistry.(h|cpp) from Support to MC 2021-10-08 14:51:48 -07:00