runtime: add trivial stack traces to exceptions

This commit is contained in:
Svyatoslav Scherbina
2016-12-02 11:23:50 +07:00
committed by SvyatoslavScherbina
parent b7b99d5684
commit f4014b0f29
9 changed files with 91 additions and 12 deletions
+2 -1
View File
@@ -90,7 +90,8 @@ abstract class KonanTest extends DefaultTask {
println "${bcFile.absolutePath} -> ${outputFile.absolutePath}"
println "tool: ${llvmLlc}"
project.exec {
commandLine "${llvmLlc}", "-o", "${outputFile.absolutePath}" , "${bcFile}"
commandLine "${llvmLlc}", "-o", "${outputFile.absolutePath}" , "${bcFile}",
'-disable-fp-elim' // currently required for stack traces
}
return outputFile
}