Added supporting suctom TargetSpec json file via -target flag.

This commit is contained in:
m-chichikalov
2019-06-13 20:41:18 -04:00
committed by Ron Evans
parent c0ff4e566d
commit 84618c45eb
2 changed files with 15 additions and 7 deletions
+1 -1
View File
@@ -588,8 +588,8 @@ func main() {
panicStrategy := flag.String("panic", "print", "panic strategy (abort, trap)")
printIR := flag.Bool("printir", false, "print LLVM IR")
dumpSSA := flag.Bool("dumpssa", false, "dump internal Go SSA")
target := flag.String("target", "", "LLVM target")
tags := flag.String("tags", "", "a space-separated list of extra build tags")
target := flag.String("target", "", "LLVM target | .json file with TargetSpec")
printSize := flag.String("size", "", "print sizes (none, short, full)")
nodebug := flag.Bool("no-debug", false, "disable DWARF debug symbol generation")
ocdOutput := flag.Bool("ocd-output", false, "print OCD daemon output during debug")