[K/N] Support stacktrace using libbacktrace
This commit is contained in:
@@ -37,6 +37,11 @@ object PlatformInfo {
|
||||
return platformManager.targetManager(targetName).target
|
||||
}
|
||||
|
||||
@JvmStatic
|
||||
fun supportsLibBacktrace(project: Project): Boolean {
|
||||
return getTarget(project).supportsLibBacktrace()
|
||||
}
|
||||
|
||||
@JvmStatic
|
||||
fun checkXcodeVersion(project: Project) {
|
||||
val properties = PropertiesProvider(project)
|
||||
|
||||
@@ -325,6 +325,10 @@ fun compileSwift(project: Project, target: KonanTarget, sources: List<String>, o
|
||||
fun targetSupportsMimallocAllocator(targetName: String) =
|
||||
HostManager().targetByName(targetName).supportsMimallocAllocator()
|
||||
|
||||
fun targetSupportsLibBacktrace(targetName: String) =
|
||||
HostManager().targetByName(targetName).supportsLibBacktrace()
|
||||
|
||||
|
||||
fun Project.mergeManifestsByTargets(source: File, destination: File) {
|
||||
logger.info("Merging manifests: $source -> $destination")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user