Skip to content

Commit 377ef09

Browse files
committed
[BoundsSafety][LLDB] Fix lldb/test/Shell/BoundsSafety/boundssafetytrap.test
When swiftlang#11621 (a4898c2) landed it broke this test because the trap reason string changed and this test wasn't updated. rdar://162886933
1 parent 00e33ed commit 377ef09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/test/Shell/BoundsSafety/boundssafetytrap.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# RUN: %clang_host -Xclang -fbounds-safety -g -O0 %S/Inputs/boundsSafetyTrap.c -o %t.out
33
# RUN: %lldb -b -s %s %t.out | FileCheck %s
44
run
5-
# CHECK: thread #{{.*}}stop reason = Bounds check failed: Dereferencing above bounds
5+
# CHECK: thread #{{.*}}stop reason = Bounds check failed: indexing above upper bound in 'array[index]'
66
frame info
77
# CHECK: frame #{{.*}}`bad_read(index=10) at boundsSafetyTrap.c
88
frame recognizer info 0

0 commit comments

Comments
 (0)