[Lldb-commits] [lldb] [lldb] Fix TestPtrauthBRAADiagnostic.py (PR #196406)

via lldb-commits lldb-commits at lists.llvm.org
Thu May 7 12:54:22 PDT 2026


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 c -- lldb/test/API/functionalities/ptrauth_diagnostics/BRAA_error/braa.c --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/lldb/test/API/functionalities/ptrauth_diagnostics/BRAA_error/braa.c b/lldb/test/API/functionalities/ptrauth_diagnostics/BRAA_error/braa.c
index c1da569d5..2e6dcc657 100644
--- a/lldb/test/API/functionalities/ptrauth_diagnostics/BRAA_error/braa.c
+++ b/lldb/test/API/functionalities/ptrauth_diagnostics/BRAA_error/braa.c
@@ -16,8 +16,9 @@ int main() {
 }
 
 // Expected codegen and exception message without ptrauth diagnostics:
-// * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x2000000100007f9c)
-// Note: Possible pointer authentication failure detected.
+// * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS
+// (code=1, address=0x2000000100007f9c) Note: Possible pointer authentication
+// failure detected.
 //     frame #0: 0x0000000100007f9c braa`foo
 // braa`foo:
 //     0x100007f9c <+0>: ret

``````````

</details>


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


More information about the lldb-commits mailing list