[llvm] [BOLT] Fix pacret-synchronous-unwind.cpp test (PR #171395)
Gergely Bálint via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 9 06:42:43 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.
+// CHECK: Ignored 1 functions ({{[0-9.]+}}%) because of CFI inconsistencies
----------------
bgergely0 wrote:
```suggestion
// CHECK: Ignored {{[0-9]}} functions ({{[0-9.]+}}%) because of CFI inconsistencies
```
https://github.com/llvm/llvm-project/pull/171395
More information about the llvm-commits
mailing list