Skip to content

Commit 35f4830

Browse files
author
git apple-llvm automerger
committed
Merge commit 'a26095f5ba10' from swift/release/6.3 into stable/21.x
2 parents bd0335c + a26095f commit 35f4830

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

lldb/test/Shell/BoundsSafety/Inputs/boundsSafetySoftTrapsMissingReason.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#include <stdio.h>
22
#include <stdlib.h>
33
#include <string.h>
4+
#include <ptrcheck.h>
45

56
int bad_call(int *__counted_by(count) ptr, int count) {}
67

lldb/test/Shell/BoundsSafety/boundssafety_soft_trap_call_minimal_missing_reason.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ run
2020
bt
2121
# CHECK: frame #{{.*}}`__bounds_safety_soft_trap{{$}}
2222
# CHECK-NEXT: frame #{{.*}}`__clang_trap_msg$Bounds check failed$
23-
# CHECK-NEXT: * frame #{{.*}}`main({{.+}}) at boundsSafetySoftTrapsMissingReason.c:16
23+
# CHECK-NEXT: * frame #{{.*}}`main({{.+}}) at boundsSafetySoftTrapsMissingReason.c:17
2424

2525
# Resume execution
2626
c

lldb/test/Shell/BoundsSafety/boundssafety_soft_trap_call_with_str_missing_reason.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ run
2020
bt
2121
# CHECK: frame #{{.*}}`__bounds_safety_soft_trap_s{{$}}
2222
# CHECK-NEXT: frame #{{.*}}`__clang_trap_msg$Bounds check failed$
23-
# CHECK-NEXT: * frame #{{.*}}`main({{.+}}) at boundsSafetySoftTrapsMissingReason.c:16
23+
# CHECK-NEXT: * frame #{{.*}}`main({{.+}}) at boundsSafetySoftTrapsMissingReason.c:17
2424

2525
# Resume execution
2626
c

0 commit comments

Comments
 (0)