main: add -p flag to set parallelism

This is very useful for debugging.
This commit is contained in:
Ayke van Laethem
2021-09-22 14:00:51 +02:00
committed by Ron Evans
parent 79bdd3f79a
commit c638f03b3c
5 changed files with 19 additions and 6 deletions
+1
View File
@@ -31,6 +31,7 @@ type Options struct {
DumpSSA bool
VerifyIR bool
PrintCommands func(cmd string, args ...string)
Parallelism int // -p flag
Debug bool
PrintSizes string
PrintAllocs *regexp.Regexp // regexp string