[all-commits] [llvm/llvm-project] b8052d: [libunwind][PAC] Defang ptrauth's PC in valid CFI ...

Oliver Hunt via All-commits all-commits at lists.llvm.org
Thu Mar 12 02:15:28 PDT 2026


  Branch: refs/heads/users/ojhunt/defang-ptrauth-cfi-bounds-check
  Home:   https://github.com/llvm/llvm-project
  Commit: b8052dc19631e404c80c86074fab0334b49764ce
      https://github.com/llvm/llvm-project/commit/b8052dc19631e404c80c86074fab0334b49764ce
  Author: Oliver Hunt <oliver at apple.com>
  Date:   2026-03-12 (Thu, 12 Mar 2026)

  Changed paths:
    M libunwind/src/libunwind.cpp
    A libunwind/test/cfi_violating_handler.pass.cpp

  Log Message:
  -----------
  [libunwind][PAC] Defang ptrauth's PC in valid CFI range abort

It turns out making the CFI check a release mode abort causes many,
if not the majority, of JITs to fail during unwinding as they do not
set up CFI sections for their generated code. As a result any JITs
that do nominally support unwinding (and catching) through their JIT
or assembly frames trip this abort.

rdar://170862047



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