[llvm-readobj] [COFF] Fix the printout for ARM64 packed homed parameters
authorMartin Storsjö <martin@martin.st>
Thu, 12 May 2022 11:33:49 +0000 (14:33 +0300)
committerMartin Storsjö <martin@martin.st>
Thu, 12 May 2022 19:52:47 +0000 (22:52 +0300)
commit0187bb28db73fc743ff8316be7ba6c357a8ff6ce
treea7026f31839ee92d177d6abd0f5fa7d681b91de9
parent3339000e0bda696c2e29173d15958c0a4978a143
[llvm-readobj] [COFF] Fix the printout for ARM64 packed homed parameters

If the function has homed parameters but the number of saved registers
is odd, the homed parameters are aligned at the top of the stack (so
they line up with later varargs on the stack), not tightly after the
other saved registers.

Differential Revision: https://reviews.llvm.org/D125462
llvm/test/MC/AArch64/seh-packed-unwind.s
llvm/test/tools/llvm-readobj/COFF/arm64-packed-unwind.s
llvm/tools/llvm-readobj/ARMWinEHPrinter.cpp