Skip to content

Commit fe0c14f

Browse files
committed
[Backtracing] Make StackOverflow test less sensitive.
Depending on the platform, architecture and stack layout, we may or may not have line numbers for the very first frame. rdar://110418951
1 parent 97e6b56 commit fe0c14f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Backtracing/StackOverflow.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ struct StackOverflow {
3434

3535
// CHECK: Thread 0 {{(".*" )?}}crashed:
3636

37-
// CHECK: 0 0x{{[0-9a-f]+}} recurse(_:) + {{[0-9]+}} in StackOverflow at {{.*}}/StackOverflow.swift:{{[0-9]+}}
37+
// CHECK: 0 0x{{[0-9a-f]+}} recurse(_:) + {{[0-9]+}} in StackOverflow at {{.*}}/StackOverflow.swift
3838
// CHECK-NEXT: 1 [ra] 0x{{[0-9a-f]+}} recurse(_:) + {{[0-9]+}} in StackOverflow at {{.*}}/StackOverflow.swift:19:3
3939
// CHECK-NEXT: 2 [ra] 0x{{[0-9a-f]+}} recurse(_:) + {{[0-9]+}} in StackOverflow at {{.*}}/StackOverflow.swift:19:3
4040
// CHECK-NEXT: 3 [ra] 0x{{[0-9a-f]+}} recurse(_:) + {{[0-9]+}} in StackOverflow at {{.*}}/StackOverflow.swift:19:3

0 commit comments

Comments
 (0)