[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
Sun May 15 14:37:28 PDT 2022


mstorsjo created this revision.
mstorsjo added reviewers: efriedma, rnk, zzheng.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
mstorsjo requested review of this revision.
Herald added a project: LLVM.

It's a fairly common issue that the generating code incorrectly marks
instructions as narrow or wide; check that the instruction lengths
add up to the expected value, and abort if it doesn't. This allows
catching code generation bugs.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D125647

Files:
  llvm/include/llvm/MC/MCWinEH.h
  llvm/lib/MC/MCWin64EH.cpp
  llvm/lib/Target/ARM/MCTargetDesc/ARMWinCOFFStreamer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125647.429565.patch
Type: text/x-patch
Size: 3761 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220515/82d8341d/attachment.bin>


More information about the llvm-commits mailing list