[PATCH] D87371: [MC] [Win64EH] Try to generate packed unwind info where possible

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 9 14:25:05 PDT 2020


efriedma added a comment.

> Unfortunately, in practice, this isn't ever matched by the code generated by LLVM

Are you planning this as a followup?



================
Comment at: llvm/lib/MC/MCWin64EH.cpp:933
 
+  if (PackedEpilogOffset == 0 && !info->HandlesExceptions &&
+      FuncLength <= 0x7ff && TryPacked) {
----------------
Is it always exactly zero?  Spec says in some cases "No instruction corresponding to mov x29,sp is present in the epilog"


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87371



More information about the llvm-commits mailing list