[PATCH] D125647: [ARM SEH 5] [MC] [Win64EH] Check that the SEH unwind opcodes match the actual instructions

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 23 13:42:51 PDT 2022


mstorsjo updated this revision to Diff 431471.
mstorsjo added a comment.

Added checks to make sure that prologs and epilogs are properly terminated, and epilog start/end are paired correctly. This gives clearer indication if there were issues in code generation (like epilogs being mangled by tail merging).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125647/new/

https://reviews.llvm.org/D125647

Files:
  llvm/include/llvm/MC/MCWinEH.h
  llvm/lib/MC/MCWin64EH.cpp
  llvm/lib/MC/WinCOFFObjectWriter.cpp
  llvm/lib/Target/ARM/MCTargetDesc/ARMWinCOFFStreamer.cpp
  llvm/test/MC/ARM/seh-checks.s
  llvm/test/MC/ARM/seh-checks2.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125647.431471.patch
Type: text/x-patch
Size: 9147 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220523/2c78ea33/attachment.bin>


More information about the llvm-commits mailing list