[PATCH] D129945: [JITLink][COFF] Don't dead strip seh frame of exported function.

Sunho Kim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 16 14:43:37 PDT 2022


sunho created this revision.
sunho added reviewers: lhames, sgraenitz.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
sunho requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Adds keep-alive edges to pdata section to prevent dead strip of block when its parent function is alive.


https://reviews.llvm.org/D129945

Files:
  llvm/lib/ExecutionEngine/JITLink/COFF_x86_64.cpp
  llvm/lib/ExecutionEngine/JITLink/SEHFrameSupport.h
  llvm/test/ExecutionEngine/JITLink/X86/COFF_pdata_no_strip.s
  llvm/test/ExecutionEngine/JITLink/X86/COFF_pdata_strip.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129945.445264.patch
Type: text/x-patch
Size: 5363 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220716/ae6c23c3/attachment-0001.bin>


More information about the llvm-commits mailing list