[PATCH] D132052: [BOLT] Emit LSDA call sites for all fragments

Fabian Parzefall via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 17 11:29:10 PDT 2022


FPar created this revision.
FPar added reviewers: maksfb, yota9, Amir, rafauler.
Herald added a subscriber: ayermolo.
Herald added a project: All.
FPar requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

For exception handling, LSDA call sites have to be emitted for each
fragment individually. With this patch, call sites and respective LSDA
symbols are generated and associated with each fragment of their
function, such that they can be used by the emitter.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D132052

Files:
  bolt/include/bolt/Core/BinaryFunction.h
  bolt/lib/Core/BinaryEmitter.cpp
  bolt/lib/Core/BinaryFunction.cpp
  bolt/lib/Core/Exceptions.cpp
  bolt/test/runtime/X86/exceptions-pic.test
  bolt/test/runtime/X86/rethrow.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132052.453371.patch
Type: text/x-patch
Size: 14665 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220817/beb57cce/attachment.bin>


More information about the llvm-commits mailing list