mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[IRGen] Corrected mangling of AsyncFunctionPointers.
Previously, the suffix "AD" was used to mangle AsyncFunctionPointers. That was incorrect because it was already used in the mangling scheme. Here, that error is fixed by using 'u' under the thunk or specialization operator 'T' to mangle AsyncFunctionPointers. Additionally, printing and demangling support is added. rdar://problem/72336407
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// REQUIRES: VENDOR=apple
|
||||
// RUN: %target-swift-frontend -emit-ir %s -enable-experimental-concurrency -validate-tbd-against-ir=all -module-name test | %FileCheck %s
|
||||
|
||||
// CHECK: @"$s4test6testityyYFAD" = hidden global %swift.async_func_pointer
|
||||
// CHECK: @"$s4test6testityyYFTu" = hidden global %swift.async_func_pointer
|
||||
|
||||
@asyncHandler
|
||||
public func testit() { }
|
||||
|
||||
Reference in New Issue
Block a user