[K/N] Add lowered suspend function mangling to avoid clashes
This commit is contained in:
committed by
Space Team
parent
2d4c94a115
commit
95eaf3d234
@@ -19,7 +19,7 @@ suspend fun suspendForever(): Int = suspendCoroutineUninterceptedOrReturn {
|
||||
// CHECK-LABEL: define %struct.ObjHeader* @"kfun:$fooCOROUTINE
|
||||
|
||||
// CHECK-NOT: ; Function Attrs: {{.*}}noreturn
|
||||
// CHECK-LABEL: define %struct.ObjHeader* @"kfun:#foo(){}kotlin.Nothing"
|
||||
// CHECK-LABEL: define %struct.ObjHeader* @"kfun:#foo#suspend(kotlin.coroutines.Continuation<kotlin.Nothing>){}kotlin.Any"
|
||||
suspend fun foo(): Nothing {
|
||||
suspendForever()
|
||||
throw Error()
|
||||
|
||||
Reference in New Issue
Block a user