Skip to content

Commit 7e77bc4

Browse files
authored
Adjust IRGen/witness-method-elimination-ir.swift for ptrauth, even more (#39449)
1 parent 910b4ee commit 7e77bc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/IRGen/witness-method-elimination-ir.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ struct MyStruct : TheProtocol {
1515
}
1616

1717
// CHECK: @"$s4main8MyStructVAA11TheProtocolAAWP" =
18-
// CHECK-SAME: i8* bitcast (%swift.protocol_conformance_descriptor* @"$s4main8MyStructVAA11TheProtocolAAMc" to i8*)
18+
// CHECK-SAME: i8* bitcast ({{.*}} @"$s4main8MyStructVAA11TheProtocolAAMc{{(.ptrauth)?}}" to i8*)
1919
// CHECK-SAME: i8* bitcast ({{.*}} @"$s4main8MyStructVAA11TheProtocolA2aDP10func1_liveyyFTW{{(.ptrauth)?}}" to i8*)
2020
// CHECK-SAME: i8* bitcast ({{.*}} @"$s4main8MyStructVAA11TheProtocolA2aDP10func2_deadyyFTW{{(.ptrauth)?}}" to i8*)
2121
// CHECK-64-SAME: align 8, !type !0, !type !1, !vcall_visibility !2

0 commit comments

Comments
 (0)