DRIVER: added '-g' key to enable emitting debug information
This commit is contained in:
committed by
vvlevchenko
parent
a4eceb3e3a
commit
7e9a01b6ba
@@ -121,6 +121,7 @@ class K2Native : CLICompiler<K2NativeCompilerArguments>() {
|
||||
put(TARGET, arguments.target)
|
||||
put(LIST_TARGETS, arguments.listTargets)
|
||||
put(OPTIMIZATION, arguments.optimization)
|
||||
put(DEBUG, arguments.debug)
|
||||
|
||||
put(PRINT_IR, arguments.printIr)
|
||||
put(PRINT_IR_WITH_DESCRIPTORS, arguments.printIrWithDescriptors)
|
||||
|
||||
@@ -53,6 +53,9 @@ public class K2NativeCompilerArguments extends CommonCompilerArguments {
|
||||
@Argument(value = "-target", valueDescription = "<target>", description = "Set hardware target")
|
||||
public String target;
|
||||
|
||||
@Argument(value = "-g", description = "Enable emitting debug information")
|
||||
public boolean debug;
|
||||
|
||||
@Argument(value = "-enable_assertions", shortName = "-ea", description = "Enable runtime assertions in generated code")
|
||||
public boolean enableAssertions;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user