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

Oliver Hunt via All-commits all-commits at lists.llvm.org
Sat Mar 7 00:38:09 PST 2026


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