Adjust IRGen/witness-method-elimination-ir.swift for ptrauth, even more (#39449)

This commit is contained in:
Kuba (Brecka) Mracek
2021-09-24 17:27:29 -07:00
committed by GitHub
parent 910b4eed59
commit 7e77bc4d87

View File

@@ -15,7 +15,7 @@ struct MyStruct : TheProtocol {
}
// CHECK: @"$s4main8MyStructVAA11TheProtocolAAWP" =
// CHECK-SAME: i8* bitcast (%swift.protocol_conformance_descriptor* @"$s4main8MyStructVAA11TheProtocolAAMc" to i8*)
// CHECK-SAME: i8* bitcast ({{.*}} @"$s4main8MyStructVAA11TheProtocolAAMc{{(.ptrauth)?}}" to i8*)
// CHECK-SAME: i8* bitcast ({{.*}} @"$s4main8MyStructVAA11TheProtocolA2aDP10func1_liveyyFTW{{(.ptrauth)?}}" to i8*)
// CHECK-SAME: i8* bitcast ({{.*}} @"$s4main8MyStructVAA11TheProtocolA2aDP10func2_deadyyFTW{{(.ptrauth)?}}" to i8*)
// CHECK-64-SAME: align 8, !type !0, !type !1, !vcall_visibility !2