[llvm] [MC] [Win64EH] Produce packed unwind for the special case of X19+LR (PR #169697)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 26 10:47:40 PST 2025


Martin =?utf-8?q?Storsjö?= <martin at martin.st>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/169697 at github.com>


================
@@ -1169,6 +1171,24 @@ static bool tryARM64PackedUnwind(WinEH::FrameInfo *info, uint32_t FuncLength,
           Location != FloatRegs && Location != InputArgs &&
           Location != StackAdjust)
         return false;
+      if (Location == Start2) { // Can't have this at Start3, after PACSignLR
+        auto NextIt = It + 1;
----------------
efriedma-quic wrote:

This probably deserves a comment explaining that a special case in the packed encoding exists here because we don't have savelrpair_x.

https://github.com/llvm/llvm-project/pull/169697


More information about the llvm-commits mailing list