Skip to content

Commit 555a526

Browse files
committed
Fix test for ptrauth.
1 parent 4b1deb0 commit 555a526

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/IRGen/isolated_any.sil

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ entry(%actor: $Optional<any Actor>, %int: $Int):
3232
// CHECK-NEXT: store [[INT]] %1, ptr [[ISO_WT_ADDR]], align
3333
// CHECK-NEXT: [[T_ADDR:%.*]] = getelementptr inbounds <{ %swift.refcounted, %TScA_pSg, [{{4|8}} x i8], %TSi }>, ptr [[BOX]], i32 0, i32 2
3434
// CHECK-NEXT: store ptr %T, ptr [[T_ADDR]], align
35-
// CHECK: [[RESULT:%.*]] = insertvalue { ptr, ptr } { ptr @"$s7closureTA", ptr undef }, ptr [[BOX]], 1
35+
// CHECK: [[RESULT:%.*]] = insertvalue { ptr, ptr } { ptr @"$s7closureTA{{(\.ptrauth.*)?}}", ptr undef }, ptr [[BOX]], 1
3636
// CHECK-NEXT: ret { ptr, ptr } [[RESULT]]
3737

3838
sil @extract_closure_isolation : $(@guaranteed @callee_guaranteed @isolated(any) () -> ()) -> Optional<any Actor> {

0 commit comments

Comments
 (0)