[K/N] Exclude libbacktrace for Linux-MIPS targets

See #KT-48949
This commit is contained in:
Pavel Punegov
2021-09-30 19:21:25 +03:00
committed by Space
parent 31ba7f24b1
commit ae1288948a
@@ -29,7 +29,10 @@ fun KonanTarget.supportsMimallocAllocator(): Boolean =
}
fun KonanTarget.supportsLibBacktrace(): Boolean =
this.family.isAppleFamily || this.family == Family.LINUX || this.family == Family.ANDROID
this.family.isAppleFamily ||
// MIPS architectures have issues, see KT-48949
(this.family == Family.LINUX && this.architecture !in listOf(Architecture.MIPS32, Architecture.MIPSEL32)) ||
this.family == Family.ANDROID
fun KonanTarget.supportsCoreSymbolication(): Boolean =
this in listOf(