[all-commits] [llvm/llvm-project] 918f6f: [AArch64] [SEH] Rename pac_sign_return_address to ...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Wed Oct 12 12:22:42 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 918f6f581d35f413809eb5e661129690a7be2cab
      https://github.com/llvm/llvm-project/commit/918f6f581d35f413809eb5e661129690a7be2cab
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-10-12 (Wed, 12 Oct 2022)

  Changed paths:
    M llvm/include/llvm/Support/Win64EH.h
    M llvm/lib/MC/MCWin64EH.cpp
    M llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.h
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64WinCOFFStreamer.cpp
    M llvm/test/MC/AArch64/seh-packed-unwind.s
    M llvm/test/MC/AArch64/seh.s
    M llvm/tools/llvm-readobj/ARMWinEHPrinter.cpp
    M llvm/tools/llvm-readobj/ARMWinEHPrinter.h

  Log Message:
  -----------
  [AArch64] [SEH] Rename pac_sign_return_address to pac_sign_lr

This new opcode was initially documented as "pac_sign_return_address"
in https://github.com/MicrosoftDocs/cpp-docs/pull/4202, but was
soon afterwards renamed into "pac_sign_lr" in
https://github.com/MicrosoftDocs/cpp-docs/pull/4209, as the other
name was unwieldy, and there were no other external references to
that name anywhere.

Rename our external .seh assembler directive - it hasn't been merged
for very long yet, so there's probably no external use to account for.

Rename all other internal references to the opcode similarly.

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


  Commit: bd3fa318878a5f709d4324fbf74e10314012368f
      https://github.com/llvm/llvm-project/commit/bd3fa318878a5f709d4324fbf74e10314012368f
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-10-12 (Wed, 12 Oct 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
    M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
    M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    M llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.cpp
    A llvm/test/CodeGen/AArch64/wineh-pac.ll

  Log Message:
  -----------
  [AArch64] Generate SEH info for PAC instructions

Without this, unwinding through functions that does use PAC
would fail, if PAC actually was active.

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


Compare: https://github.com/llvm/llvm-project/compare/e4ccba1598c0...bd3fa318878a


More information about the All-commits mailing list