[all-commits] [llvm/llvm-project] a9e6f9: [libunwind][PAuthLR] Remove PC offset when using F...

Jack Styles via All-commits all-commits at lists.llvm.org
Wed Oct 29 01:20:34 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a9e6f90867b1c7cc18fe46822148d99f614f9e33
      https://github.com/llvm/llvm-project/commit/a9e6f90867b1c7cc18fe46822148d99f614f9e33
  Author: Jack Styles <jack.styles at arm.com>
  Date:   2025-10-29 (Wed, 29 Oct 2025)

  Changed paths:
    M libunwind/src/DwarfParser.hpp

  Log Message:
  -----------
  [libunwind][PAuthLR] Remove PC offset when using FEAT_PAuthLR (#164224)

When originally introduced to libunwind as part of #112171, FEAT_PAuthLR
had its Call Frame Instruction's (CFI's) in a different location to
other Signing Authentication methods. To incorporate this in libunwind,
a 4 byte offset was introduced to work with this. However, this design
was reversed in #121551 so the CFI's are emitted in the same location as
other methods. When making this change, the offset in libunwind was not
removed, so libunwind's PC value would be incorrect.

As the 4 byte offset is no longer needed, that adjustment can be
removed. results->ptrAuthDiversifier will still be set.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list