[PATCH] D146067: JITLink: Add missing EHFrame NULL terminator on aarch64/ELF
Tom Stellard via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 14 16:51:55 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG68c14f582ce6: JITLink: Add missing EHFrame NULL terminator on aarch64/ELF (authored by tstellar).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146067/new/
https://reviews.llvm.org/D146067
Files:
llvm/lib/ExecutionEngine/JITLink/ELF_aarch64.cpp
Index: llvm/lib/ExecutionEngine/JITLink/ELF_aarch64.cpp
===================================================================
--- llvm/lib/ExecutionEngine/JITLink/ELF_aarch64.cpp
+++ llvm/lib/ExecutionEngine/JITLink/ELF_aarch64.cpp
@@ -552,6 +552,7 @@
Config.PrePrunePasses.push_back(EHFrameEdgeFixer(
".eh_frame", 8, aarch64::Pointer32, aarch64::Pointer64,
aarch64::Delta32, aarch64::Delta64, aarch64::NegDelta32));
+ Config.PrePrunePasses.push_back(EHFrameNullTerminator(".eh_frame"));
// Add a mark-live pass.
if (auto MarkLive = Ctx->getMarkLivePass(TT))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146067.505324.patch
Type: text/x-patch
Size: 595 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230314/1f0afb2e/attachment.bin>
More information about the llvm-commits
mailing list