@@ -29,7 +29,7 @@ func accessNSMember() {
29
29
// CHECK-LABEL: define hidden swiftcc i32 @"$s6cxx_ir12basicMethods1as5Int32VSpySo0D0VG_tF"(i8*)
30
30
// CHECK: [[THIS_PTR1:%.*]] = bitcast i8* %0 to %TSo7MethodsV*
31
31
// CHECK: [[THIS_PTR2:%.*]] = bitcast %TSo7MethodsV* [[THIS_PTR1]] to %class.Methods*
32
- // CHECK: [[RESULT:%.*]] = call i32 @_ZN7Methods12SimpleMethodEi(%class.Methods* [[THIS_PTR2]], i32 4)
32
+ // CHECK: [[RESULT:%.*]] = call i32 @{{ _ZN7Methods12SimpleMethodEi|"\?SimpleMethod@Methods@@QEAAHH@Z"}} (%class.Methods* [[THIS_PTR2]], i32 4)
33
33
// CHECK: ret i32 [[RESULT]]
34
34
func basicMethods( a: UnsafeMutablePointer < Methods > ) -> Int32 {
35
35
return a. pointee. SimpleMethod ( 4 )
@@ -38,14 +38,14 @@ func basicMethods(a: UnsafeMutablePointer<Methods>) -> Int32 {
38
38
// CHECK-LABEL: define hidden swiftcc i32 @"$s6cxx_ir17basicMethodsConst1as5Int32VSpySo0D0VG_tF"(i8*)
39
39
// CHECK: [[THIS_PTR1:%.*]] = bitcast i8* %0 to %TSo7MethodsV*
40
40
// CHECK: [[THIS_PTR2:%.*]] = bitcast %TSo7MethodsV* [[THIS_PTR1]] to %class.Methods*
41
- // CHECK: [[RESULT:%.*]] = call i32 @_ZNK7Methods17SimpleConstMethodEi(%class.Methods* [[THIS_PTR2]], i32 3)
41
+ // CHECK: [[RESULT:%.*]] = call i32 @{{ _ZNK7Methods17SimpleConstMethodEi|"\?SimpleConstMethod@Methods@@QEBAHH@Z"}} (%class.Methods* [[THIS_PTR2]], i32 3)
42
42
// CHECK: ret i32 [[RESULT]]
43
43
func basicMethodsConst( a: UnsafeMutablePointer < Methods > ) -> Int32 {
44
44
return a. pointee. SimpleConstMethod ( 3 )
45
45
}
46
46
47
47
// CHECK-LABEL: define hidden swiftcc i32 @"$s6cxx_ir18basicMethodsStatics5Int32VyF"()
48
- // CHECK: [[RESULT:%.*]] = call i32 @_ZN7Methods18SimpleStaticMethodEi(i32 5)
48
+ // CHECK: [[RESULT:%.*]] = call i32 @{{ _ZN7Methods18SimpleStaticMethodEi|"\?SimpleStaticMethod@Methods@@SAHH@Z"}} (i32 5)
49
49
// CHECK: ret i32 [[RESULT]]
50
50
func basicMethodsStatic( ) -> Int32 {
51
51
return Methods . SimpleStaticMethod ( 5 )
0 commit comments