go/src/cmd/go/internal/work/security.go

var re

var validCompilerFlags

var validCompilerFlagsWithNextArg

var invalidLinkerFlags

var validLinkerFlags

var validLinkerFlagsWithNextArg

func checkCompilerFlags(name, source string, list []string) error {}

func checkLinkerFlags(name, source string, list []string) error {}

// checkCompilerFlagsForInternalLink returns an error if 'list'
// contains a flag or flags that may not be fully supported by
// internal linking (meaning that we should punt the link to the
// external linker).
func checkCompilerFlagsForInternalLink(name, source string, list []string) error {}

func checkFlags(name, source string, list []string, invalid, valid []*lazyregexp.Regexp, validNext []string, checkOverrides bool) error {}