[all-commits] [llvm/llvm-project] 6ad4fd: [llvm-readobj] Decode the new ARM64 SEH info for r...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Tue Oct 11 04:36:58 PDT 2022


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

  Changed paths:
    A llvm/test/tools/llvm-readobj/COFF/arm64-packed-unwind-pac.s
    A llvm/test/tools/llvm-readobj/COFF/arm64-unwind-pac.s
    M llvm/tools/llvm-readobj/ARMWinEHPrinter.cpp
    M llvm/tools/llvm-readobj/ARMWinEHPrinter.h

  Log Message:
  -----------
  [llvm-readobj] Decode the new ARM64 SEH info for return address signing

This got documented upstream in
https://github.com/MicrosoftDocs/cpp-docs/pull/4202.

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


  Commit: 018ac7847bb5a18ff68cf05b1d68f37fb32792d8
      https://github.com/llvm/llvm-project/commit/018ac7847bb5a18ff68cf05b1d68f37fb32792d8
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-10-11 (Tue, 11 Oct 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64BranchTargets.cpp
    A llvm/test/CodeGen/AArch64/wineh-bti.ll

  Log Message:
  -----------
  [AArch64] Add SEH_Nop opcodes for BTI hints

These are harmless for the unwinder - the unwinder doesn't need to
handle them for being able to unwind correctly.

Only add the opcodes when the branch target is in a SEH prologue;
for jumptables e.g. within a function, we shouldn't add any SEH
opcodes.

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


Compare: https://github.com/llvm/llvm-project/compare/b32a1bdf42b0...018ac7847bb5


More information about the All-commits mailing list