[K/N] Fix coverage phase condition
This commit is contained in:
committed by
Space Team
parent
b368b78faa
commit
d87f3cb9cd
+1
-2
@@ -171,8 +171,7 @@ internal fun <T : BitcodePostProcessingContext> PhaseEngine<T>.runBitcodePostPro
|
||||
null -> {}
|
||||
}
|
||||
}
|
||||
val checkExternalCalls = context.config.configuration.getBoolean(KonanConfigKeys.CHECK_EXTERNAL_CALLS)
|
||||
if (checkExternalCalls && context is NativeGenerationState) {
|
||||
if (context is NativeGenerationState && context.coverage.enabled) {
|
||||
newEngine(context) { it.runPhase(CoveragePhase) }
|
||||
}
|
||||
if (context.config.memoryModel == MemoryModel.EXPERIMENTAL) {
|
||||
|
||||
Reference in New Issue
Block a user