[K/N] Option to specify IR validation severity

This commit is contained in:
Igor Chevdar
2023-02-10 17:52:13 +02:00
committed by Space Team
parent 4fd063bd4b
commit ba172358d8
8 changed files with 32 additions and 12 deletions
@@ -285,8 +285,12 @@ class K2NativeCompilerArguments : CommonCompilerArguments() {
@Argument(value = "-Xverify-bitcode", deprecatedName = "--verify_bitcode", description = "Verify llvm bitcode after each method")
var verifyBitCode: Boolean = false
@Argument(value = "-Xverify-ir", description = "Verify IR")
var verifyIr: Boolean = false
@Argument(
value = "-Xverify-ir",
valueDescription = "{none|warning|error}",
description = "IR verification mode (no verification by default)"
)
var verifyIr: String? = null
@Argument(value = "-Xverify-compiler", description = "Verify compiler")
var verifyCompiler: String? = null