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

Oliver Hunt via All-commits all-commits at lists.llvm.org
Mon Mar 9 14:00:39 PDT 2026


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