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

Oliver Hunt via All-commits all-commits at lists.llvm.org
Wed Mar 11 01:09:21 PDT 2026


  Branch: refs/heads/users/ojhunt/defang-ptrauth-cfi-bounds-check
  Home:   https://github.com/llvm/llvm-project
  Commit: 5e9e039a9572a4f9197b496cd94a754ad2725292
      https://github.com/llvm/llvm-project/commit/5e9e039a9572a4f9197b496cd94a754ad2725292
  Author: Oliver Hunt <oliver at apple.com>
  Date:   2026-03-11 (Wed, 11 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