Skip to content

Commit fc9d0a0

Browse files
committed
[Backtracing][Tests] Don't fail CrashAsync for missing line numbers.
If libswift_Concurrency.dylib's line numbers couldn't be resolved, we'd end up failing this test for no good reason. rdar://106502985
1 parent 4f59fe8 commit fc9d0a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Backtracing/CrashAsync.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ struct CrashAsync {
5252
// CHECK-NEXT: 8 [async] [system] 0x{{[0-9a-f]+}} _async_MainTQ0_ in CrashAsync at {{.*}}/<compiler-generated>
5353
// CHECK-NEXT: 9 [async] [thunk] 0x{{[0-9a-f]+}} _$sIetH_yts5Error_pIegHrzo_TRTQ0_ in CrashAsync at {{.*}}/<compiler-generated>
5454
// CHECK-NEXT: 10 [async] [thunk] 0x{{[0-9a-f]+}} _$sIetH_yts5Error_pIegHrzo_TRTATQ0_ in CrashAsync at {{.*}}/<compiler-generated>
55-
// CHECK-NEXT: 11 [async] [system] 0x{{[0-9a-f]+}} __ZL23completeTaskWithClosurePN5swift12AsyncContextEPNS_10SwiftErrorE in libswift_Concurrency.dylib at {{.*}}/Task.cpp:463
55+
// CHECK-NEXT: 11 [async] [system] 0x{{[0-9a-f]+}} __ZL23completeTaskWithClosurePN5swift12AsyncContextEPNS_10SwiftErrorE in libswift_Concurrency.dylib
5656

5757
// FRIENDLY: *** Program crashed: Bad pointer dereference at 0x{{0+}}4 ***
5858

0 commit comments

Comments
 (0)