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

via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 9 06:44:37 PST 2025


Gergely =?utf-8?q?Bálint?= <gergely.balint at arm.com>,
Gergely =?utf-8?q?Bálint?= <gergely.balint at arm.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/171395 at github.com>


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff origin/main HEAD --extensions cpp -- bolt/test/runtime/AArch64/pacret-synchronous-unwind.cpp --diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/bolt/test/runtime/AArch64/pacret-synchronous-unwind.cpp b/bolt/test/runtime/AArch64/pacret-synchronous-unwind.cpp
index 93b602bac..c51026a14 100644
--- a/bolt/test/runtime/AArch64/pacret-synchronous-unwind.cpp
+++ b/bolt/test/runtime/AArch64/pacret-synchronous-unwind.cpp
@@ -15,9 +15,10 @@
 // Number of functions with .cfi-negate-ra-state in the binary is
 // platform-dependent.
 // CHECK: PointerAuthCFIAnalyzer ran on {{[0-9]+}} functions.
-// CHECK: Ignored {{[0-9]}} functions ({{[0-9.]+}}%) because of CFI inconsistencies
-// CHECK-NEXT: BOLT-WARNING: PointerAuthCFIAnalyzer only supports asynchronous
-// CHECK-SAME: unwind tables. For C compilers, see -fasynchronous-unwind-tables.
+// CHECK: Ignored {{[0-9]}} functions ({{[0-9.]+}}%) because of CFI
+// inconsistencies CHECK-NEXT: BOLT-WARNING: PointerAuthCFIAnalyzer only
+// supports asynchronous CHECK-SAME: unwind tables. For C compilers, see
+// -fasynchronous-unwind-tables.
 
 #include <cstdio>
 #include <stdexcept>

``````````

</details>


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


More information about the llvm-commits mailing list