[PATCH] D125644: [ARM SEH 2] [llvm-readobj] Improve printing of Windows ARM packed unwind info

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 15 14:30:50 PDT 2022


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

Fix a couple minor details in the existing logic for calculating
saved registers and stack adjustment.

Synthesize the corresponding prologues and epilogues and print them.
(This supersedes the previous printout of one single list of stored
registers; as there's lots of minor nuance differences in how
registers are pushed/popped in various corner cases, it's better to
print the full prologue/epilogue instead of trying to condense it
into one single list.)

Print the raw values of the fields Reg, R, L (LinkRegister) and C
(Chaining) instead of only printing the derived values.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D125644

Files:
  llvm/include/llvm/Support/ARMWinEH.h
  llvm/lib/Support/ARMWinEH.cpp
  llvm/test/tools/llvm-readobj/COFF/arm-unwind-packed.s
  llvm/tools/llvm-readobj/ARMWinEHPrinter.cpp
  llvm/tools/llvm-readobj/ARMWinEHPrinter.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125644.429562.patch
Type: text/x-patch
Size: 27527 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220515/13eb1436/attachment.bin>


More information about the llvm-commits mailing list