[llvm] [BOLT] Fix pacret-synchronous-unwind.cpp test (PR #171395)

Peter Waller via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 9 04:55:27 PST 2025


================
@@ -11,10 +11,11 @@
 // RUN: -fno-asynchronous-unwind-tables \
 // RUN: %s -o %t.exe -Wl,-q
 // RUN: llvm-bolt %t.exe -o %t.bolt | FileCheck %s --check-prefix=CHECK
-//
-// CHECK: PointerAuthCFIAnalyzer ran on 3 functions. Ignored
-// CHECK-NOT: 0 functions (0.00%) because of CFI inconsistencies
-// CHECK-SAME: 1 functions (33.33%) because of CFI inconsistencies
+
+// Number of functions with .cfi-negate-ra-state in the binary is
+// platform-dependent.
+// CHECK: PointerAuthCFIAnalyzer ran on {{[0-9]}} functions.
----------------
peterwaller-arm wrote:

No chance of it running on more than 9 functions?

https://github.com/llvm/llvm-project/pull/171395


More information about the llvm-commits mailing list