Use CLI compiler arguments directly in PhaseConfig creation

This commit is contained in:
Georgy Bronnikov
2019-03-21 17:18:07 +03:00
parent 40079f7cae
commit fae003866b
16 changed files with 105 additions and 112 deletions
@@ -232,6 +232,30 @@ abstract class CommonCompilerArguments : CommonToolArguments() {
)
var phasesToDump: Array<String>? by FreezableVar(null)
@Argument(
value = "-Xexclude-from-dumping",
description = "Names of elements that should not be dumped"
)
var namesExcludedFromDumping: Array<String>? by FreezableVar(null)
@Argument(
value = "-Xphases-to-validate-before",
description = "Validate backend state before these phases"
)
var phasesToValidateBefore: Array<String>? by FreezableVar(null)
@Argument(
value = "-Xphases-to-validate-after",
description = "Validate backend state after these phases"
)
var phasesToValidateAfter: Array<String>? by FreezableVar(null)
@Argument(
value = "-Xphases-to-validate",
description = "Validate backend state both before and after these phases"
)
var phasesToValidate: Array<String>? by FreezableVar(null)
@Argument(
value = "-Xprofile-phases",
description = "Profile backend phases"