[all-commits] [llvm/llvm-project] d4257f: [llvm-readobj] Improve printing of Windows ARM pac...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Wed May 18 11:37:15 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d4257fbbba234cdbb8d1973c508ee1aa1adcb4f2
      https://github.com/llvm/llvm-project/commit/d4257fbbba234cdbb8d1973c508ee1aa1adcb4f2
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-05-18 (Wed, 18 May 2022)

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

  Log Message:
  -----------
  [llvm-readobj] Improve printing of Windows ARM packed unwind info

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.

Differential Revision: https://reviews.llvm.org/D125644




More information about the All-commits mailing list