[PATCH] D127936: [BOLT] Split functions with exceptions in shared objects and PIEs
Maksim Panchenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 15 21:53:43 PDT 2022
maksfb created this revision.
maksfb added reviewers: yota9, Amir, ayermolo, rafauler, zr33, nhuhuan.
Herald added a project: All.
maksfb requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Add functionality to allow splitting code with C++ exceptions in shared
libraries and PIEs. To overcome a limitation in exception ranges format,
for functions with fragments spanning multiple sections, add trampoline
landing pads in the same section as the corresponding throwing range.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D127936
Files:
bolt/include/bolt/Core/MCPlusBuilder.h
bolt/include/bolt/Passes/SplitFunctions.h
bolt/lib/Core/BinaryEmitter.cpp
bolt/lib/Core/MCPlusBuilder.cpp
bolt/lib/Passes/SplitFunctions.cpp
bolt/lib/Rewrite/RewriteInstance.cpp
bolt/test/runtime/X86/Inputs/exceptions_split.cpp
bolt/test/runtime/X86/pie-exceptions-split.test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127936.437442.patch
Type: text/x-patch
Size: 10861 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220616/049472d0/attachment.bin>
More information about the llvm-commits
mailing list