main: add -internal-nodwarf flag

This can be useful during development to avoid generating debug
information in IR.
This commit is contained in:
Ayke van Laethem
2023-06-01 18:58:26 +02:00
committed by Ron Evans
parent 92d9f856ab
commit 4a240827cb
3 changed files with 9 additions and 1 deletions
+1
View File
@@ -35,6 +35,7 @@ type Options struct {
PrintIR bool
DumpSSA bool
VerifyIR bool
SkipDWARF bool
PrintCommands func(cmd string, args ...string) `json:"-"`
Semaphore chan struct{} `json:"-"` // -p flag controls cap
Debug bool