1int main() {
2 //% self.filecheck("c", "brkC47x.c")
3 // CHECK: stop reason = EXC_BAD_ACCESS
4 // CHECK-NOT: Note: Possible pointer authentication failure detected.
5 asm volatile (
6 "mov x16, #0xbad \n"
7 "brk 0xc470 \n"
8 /* Outputs */ :
9 /* Inputs */ :
10 /* Clobbers */ : "x16"
11 );
12
13 return 1;
14}
15

source code of lldb/test/API/functionalities/ptrauth_diagnostics/brkC47x_x16_invalid/brkC47x.c