From c0b1fa16001c0f54ffaeec680cd874231f04c3c0 Mon Sep 17 00:00:00 2001 From: Gabor Horvath Date: Tue, 8 Apr 2025 16:00:28 +0100 Subject: [PATCH] [cxx-interop] Fix a CI failure in ptrauth test This test is not executed by the pre-commit CI, so the failure went unnoticed after #80495. This PR updates the test to make the CI pass. rdar://148665873 --- .../class/swift-class-virtual-method-dispatch-arm64e.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Interop/SwiftToCxx/class/swift-class-virtual-method-dispatch-arm64e.swift b/test/Interop/SwiftToCxx/class/swift-class-virtual-method-dispatch-arm64e.swift index d4e4714c5f944..da8bb7bbef99f 100644 --- a/test/Interop/SwiftToCxx/class/swift-class-virtual-method-dispatch-arm64e.swift +++ b/test/Interop/SwiftToCxx/class/swift-class-virtual-method-dispatch-arm64e.swift @@ -16,7 +16,7 @@ // CHECK-NEXT: void **vtable_ = *selfPtr_; // CHECK-NEXT: #endif // CHECK-NEXT: struct FTypeAddress { -// CHECK-NEXT: decltype(_impl::$s5Class04BaseA0C13virtualMethodyyF) * __ptrauth_swift_class_method_pointer([[#AUTH:]]) func; +// CHECK-NEXT: decltype(Class::_impl::$s5Class04BaseA0C13virtualMethodyyF) * __ptrauth_swift_class_method_pointer([[#AUTH:]]) func; // CHECK-NEXT: }; // CHECK-NEXT: FTypeAddress *fptrptr_ = reinterpret_cast(vtable_ + [[#VM1:]] / sizeof(void *)); // CHECK-NEXT: (* fptrptr_->func)(::swift::_impl::_impl_RefCountedClass::getOpaquePointer(*this));