[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
Wed May 18 05:13:47 PDT 2022


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

Updated and rebased. Made the instruction length checking always enabled, outside of NDEBUG, and changed the error into a proper user level error instead of a printout and std::abort(). Added a testcase for the error message too.


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125647.430341.patch
Type: text/x-patch
Size: 5766 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220518/f58f471b/attachment.bin>


More information about the llvm-commits mailing list