@@ -22,7 +22,7 @@ func namespaceManglesIntoName(arg: namespacedT) {
22
22
// CHECK-LABEL: define hidden swiftcc i32 @"$s6cxx_ir12basicMethods1as5Int32VSpySo0D0VG_tF"(i8*)
23
23
// CHECK: [[THIS_PTR1:%.*]] = bitcast i8* %0 to %TSo7MethodsV*
24
24
// CHECK: [[THIS_PTR2:%.*]] = bitcast %TSo7MethodsV* [[THIS_PTR1]] to %class.Methods*
25
- // CHECK: [[RESULT:%.*]] = call i32 @_ZN7Methods12SimpleMethodEi(%class.Methods* [[THIS_PTR2]], i32 4)
25
+ // CHECK: [[RESULT:%.*]] = call i32 @{{ _ZN7Methods12SimpleMethodEi|"\?SimpleMethod@Methods@@QEAAHH@Z"}} (%class.Methods* [[THIS_PTR2]], i32 4)
26
26
// CHECK: ret i32 [[RESULT]]
27
27
func basicMethods( a: UnsafeMutablePointer < Methods > ) -> Int32 {
28
28
return a. pointee. SimpleMethod ( 4 )
@@ -31,14 +31,14 @@ func basicMethods(a: UnsafeMutablePointer<Methods>) -> Int32 {
31
31
// CHECK-LABEL: define hidden swiftcc i32 @"$s6cxx_ir17basicMethodsConst1as5Int32VSpySo0D0VG_tF"(i8*)
32
32
// CHECK: [[THIS_PTR1:%.*]] = bitcast i8* %0 to %TSo7MethodsV*
33
33
// CHECK: [[THIS_PTR2:%.*]] = bitcast %TSo7MethodsV* [[THIS_PTR1]] to %class.Methods*
34
- // CHECK: [[RESULT:%.*]] = call i32 @_ZNK7Methods17SimpleConstMethodEi(%class.Methods* [[THIS_PTR2]], i32 3)
34
+ // CHECK: [[RESULT:%.*]] = call i32 @{{ _ZNK7Methods17SimpleConstMethodEi|"\?SimpleConstMethod@Methods@@QEBAHH@Z"}} (%class.Methods* [[THIS_PTR2]], i32 3)
35
35
// CHECK: ret i32 [[RESULT]]
36
36
func basicMethodsConst( a: UnsafeMutablePointer < Methods > ) -> Int32 {
37
37
return a. pointee. SimpleConstMethod ( 3 )
38
38
}
39
39
40
40
// CHECK-LABEL: define hidden swiftcc i32 @"$s6cxx_ir18basicMethodsStatics5Int32VyF"()
41
- // CHECK: [[RESULT:%.*]] = call i32 @_ZN7Methods18SimpleStaticMethodEi(i32 5)
41
+ // CHECK: [[RESULT:%.*]] = call i32 @{{ _ZN7Methods18SimpleStaticMethodEi|"\?SimpleStaticMethod@Methods@@SAHH@Z"}} (i32 5)
42
42
// CHECK: ret i32 [[RESULT]]
43
43
func basicMethodsStatic( ) -> Int32 {
44
44
return Methods . SimpleStaticMethod ( 5 )
0 commit comments