[PATCH] D86527: [3/5] [MC] [Win64EH] Produce well-formed xdata records when info is missing

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 25 13:42:47 PDT 2020


efriedma added a comment.

If there aren't any unwind codes, the compiler should completely skip emitting the .pdata record.  That's what the spec suggests the compiler should do, and probably matches what tooling expects.  So I think if we do end up with SEH directives without any SEH opcodes, we should either omit the .pdata record, or reject the assembly.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D86527



More information about the llvm-commits mailing list