[Lldb-commits] [lldb] [lldb] Fix TestPtrauthBRKc47xX16Invalid.py (PR #196408)

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


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Alex Langford (bulbazord)

<details>
<summary>Changes</summary>

LLDB correctly detects the pointer authentication failure.

---
Full diff: https://github.com/llvm/llvm-project/pull/196408.diff


1 Files Affected:

- (modified) lldb/test/API/functionalities/ptrauth_diagnostics/brkC47x_x16_invalid/brkC47x.c (+1-1) 


``````````diff
diff --git a/lldb/test/API/functionalities/ptrauth_diagnostics/brkC47x_x16_invalid/brkC47x.c b/lldb/test/API/functionalities/ptrauth_diagnostics/brkC47x_x16_invalid/brkC47x.c
index 7119277351585..044466ead300b 100644
--- a/lldb/test/API/functionalities/ptrauth_diagnostics/brkC47x_x16_invalid/brkC47x.c
+++ b/lldb/test/API/functionalities/ptrauth_diagnostics/brkC47x_x16_invalid/brkC47x.c
@@ -1,7 +1,7 @@
 int main() {
   //% self.filecheck("c", "brkC47x.c")
   // CHECK: stop reason = EXC_BAD_ACCESS
-  // CHECK-NOT: Note: Possible pointer authentication failure detected.
+  // CHECK-NEXT: Note: Possible pointer authentication failure detected.
   asm volatile (
       "mov x16, #0xbad \n"
       "brk 0xc470 \n"

``````````

</details>


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


More information about the lldb-commits mailing list