Added compiler arg --print_ir_with_descriptors
Sometimes it would be useful to see IR with all corresponding descriptors - now it is possible.
This commit is contained in:
@@ -123,6 +123,7 @@ class K2Native : CLICompiler<K2NativeCompilerArguments>() {
|
||||
put(OPTIMIZATION, arguments.optimization)
|
||||
|
||||
put(PRINT_IR, arguments.printIr)
|
||||
put(PRINT_IR_WITH_DESCRIPTORS, arguments.printIrWithDescriptors)
|
||||
put(PRINT_DESCRIPTORS, arguments.printDescriptors)
|
||||
put(PRINT_LOCATIONS, arguments.printLocations)
|
||||
put(PRINT_BITCODE, arguments.printBitCode)
|
||||
|
||||
@@ -73,6 +73,9 @@ public class K2NativeCompilerArguments extends CommonCompilerArguments {
|
||||
@Argument(value = "print_ir", prefix = "--", description = "Print IR")
|
||||
public boolean printIr;
|
||||
|
||||
@Argument(value = "print_ir_with_descriptors", prefix = "--", description = "Print IR with descriptors")
|
||||
public boolean printIrWithDescriptors;
|
||||
|
||||
@Argument(value = "print_descriptors", prefix = "--", description = "Print descriptor tree")
|
||||
public boolean printDescriptors;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user