aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/ErrorHandling.cpp
diff options
context:
space:
mode:
authorluxufan <932494295@qq.com>2021-10-06 15:52:25 +0800
committerluxufan <932494295@qq.com>2021-10-06 21:24:34 +0800
commit50a278c2aef21bf9b78865ad7c7554e506434b9c (patch)
tree4f58d21bb74a4db90d8df68a611e613cea1f3009 /llvm/lib/Support/ErrorHandling.cpp
parentf98df8a38b00b207b5f5deda607fd6862ad550f0 (diff)
downloadllvm-50a278c2aef21bf9b78865ad7c7554e506434b9c.zip
llvm-50a278c2aef21bf9b78865ad7c7554e506434b9c.tar.gz
llvm-50a278c2aef21bf9b78865ad7c7554e506434b9c.tar.bz2
[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
Diffstat (limited to 'llvm/lib/Support/ErrorHandling.cpp')
0 files changed, 0 insertions, 0 deletions