[stage][link][mac] returns dsymutil execution under debug umbrella

This commit is contained in:
Vasily Levchenko
2017-12-14 16:44:58 +03:00
committed by Vasily Levchenko
parent deaf52c77e
commit 807fae110f
@@ -139,7 +139,8 @@ internal open class MacOSBasedPlatform(distribution: Distribution)
return object : Command(linker){
override fun execute() {
super.execute()
runTool(*dsymutilCommand(executable).toTypedArray())
if (debug)
runTool(*dsymutilCommand(executable).toTypedArray())
}
}.apply {
+ "-demangle"