[K/N] Fixed a problem with built coroutine visibility
#KT-55494 Fixed
This commit is contained in:
@@ -16,7 +16,7 @@ open class EmptyContinuation(override val context: CoroutineContext = EmptyCorou
|
||||
suspend fun suspendForever(): Int = suspendCoroutineUninterceptedOrReturn {
|
||||
COROUTINE_SUSPENDED
|
||||
}
|
||||
// CHECK-LABEL: define %struct.ObjHeader* @"kfun:$fooCOROUTINE
|
||||
// CHECK-LABEL: define internal %struct.ObjHeader* @"kfun:$fooCOROUTINE
|
||||
|
||||
// CHECK-NOT: ; Function Attrs: {{.*}}noreturn
|
||||
// CHECK-LABEL: define %struct.ObjHeader* @"kfun:#foo#suspend(kotlin.coroutines.Continuation<kotlin.Nothing>){}kotlin.Any"
|
||||
|
||||
@@ -281,7 +281,7 @@ suspend fun s23(f: Boolean) {
|
||||
|
||||
// CHECK-LABEL: define %struct.ObjHeader* @"kfun:#s24#suspend(kotlin.coroutines.Continuation<kotlin.Unit>){}kotlin.Any
|
||||
suspend fun s24() {
|
||||
// CHECK: call void @"kfun:$s24COROUTINE${{[0-9]*}}#<init>
|
||||
// CHECK: call void @"kfun:$s24COROUTINE${{[0-9]*}}.<init>#internal
|
||||
sInt()
|
||||
}
|
||||
// CHECK-LABEL: epilogue:
|
||||
|
||||
Reference in New Issue
Block a user