add -nobounds (similar to -gcflags=-B)

This commit is contained in:
Damian Gryski
2025-04-14 17:01:03 -07:00
committed by Ron Evans
parent 133e32c1c4
commit 0fdf08d14f
5 changed files with 9 additions and 0 deletions
+1
View File
@@ -43,6 +43,7 @@ type Options struct {
PrintCommands func(cmd string, args ...string) `json:"-"`
Semaphore chan struct{} `json:"-"` // -p flag controls cap
Debug bool
Nobounds bool
PrintSizes string
PrintAllocs *regexp.Regexp // regexp string
PrintStacks bool