[K/N][codegen] Fixed improper linkage for private function

#KT-53346 Fixed
This commit is contained in:
Igor Chevdar
2022-08-06 09:27:41 +03:00
parent f2fa748a5f
commit e5d44065ae
@@ -459,6 +459,8 @@ internal class RTTIGenerator(override val context: Context) : ContextUtils {
""
) {
ret(getObjectValue(value, ExceptionHandler.Caller, startLocationInfo = null))
}.also {
LLVMSetLinkage(it, LLVMLinkage.LLVMPrivateLinkage)
}
Struct(runtime.associatedObjectTableRecordType, key.typeInfoPtr, constPointer(associatedObjectGetter))