From 2733879c62d2a870bb1086ff75dac7a26d0c8cb0 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Tue, 11 Feb 2025 15:06:22 -0800 Subject: [PATCH] Runtime: correct homing module for `swift_coroFrameAlloc` This function is part of the Swift standard library, not the *C* standard library. Correct the library name for the module to ensure that it is properly exported. --- include/swift/Runtime/RuntimeFunctions.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/swift/Runtime/RuntimeFunctions.def b/include/swift/Runtime/RuntimeFunctions.def index 503f2d4faee21..9e932d6e840bc 100644 --- a/include/swift/Runtime/RuntimeFunctions.def +++ b/include/swift/Runtime/RuntimeFunctions.def @@ -2099,7 +2099,7 @@ FUNCTION(Free, c, free, C_CC, AlwaysAvailable, NO_ATTRS, EFFECT(Deallocating), UNKNOWN_MEMEFFECTS) -FUNCTION(CoroFrameAlloc, c, swift_coroFrameAlloc, C_CC, AlwaysAvailable, +FUNCTION(CoroFrameAlloc, Swift, swift_coroFrameAlloc, C_CC, AlwaysAvailable, RETURNS(Int8PtrTy), ARGS(SizeTy, Int64Ty), NO_ATTRS,