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

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


  Branch: refs/heads/users/ojhunt/defang-ptrauth-cfi-bounds-check
  Home:   https://github.com/llvm/llvm-project
  Commit: 502727b85aca7c61752f4715c4d2e8973ad51cbc
      https://github.com/llvm/llvm-project/commit/502727b85aca7c61752f4715c4d2e8973ad51cbc
  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