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

LLDB correctly detects the pointer authentication failure.

>From ca53b90e3900a4e8b4dc593758d17462806d3bfa Mon Sep 17 00:00:00 2001
From: Alex Langford <[email protected]>
Date: Thu, 7 May 2026 12:55:26 -0700
Subject: [PATCH] [lldb] Fix TestPtrauthBRKc47xX16Invalid.py

LLDB correctly detects the pointer authentication failure.
---
 .../ptrauth_diagnostics/brkC47x_x16_invalid/brkC47x.c           | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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"

_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to