[PATCH] D114753: [JITLink][ELF] Support duplicated section names from object file
Steven Wu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 29 15:36:37 PST 2021
steven_wu created this revision.
steven_wu added reviewers: lhames, dexonsmith.
Herald added subscribers: luke957, frasercrmck, luismarques, apazos, sameer.abuasal, ributzka, s.egerton, Jim, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya.
steven_wu requested review of this revision.
Herald added a project: LLVM.
ELF object files can contain duplicated sections (thus section symbols
as well), espeically when comdats/section groups are present. This patch
adds support for generating LinkGraph from object files that have
duplicated section names. This is the first step to properly model
comdats/section groups.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D114753
Files:
llvm/lib/ExecutionEngine/JITLink/ELFLinkGraphBuilder.h
llvm/lib/ExecutionEngine/JITLink/ELF_aarch64.cpp
llvm/lib/ExecutionEngine/JITLink/ELF_riscv.cpp
llvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp
llvm/test/ExecutionEngine/JITLink/X86/ELF_comdat.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114753.390504.patch
Type: text/x-patch
Size: 8909 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211129/3741b7fb/attachment.bin>
More information about the llvm-commits
mailing list