1
0
mirror of https://github.com/golang/go synced 2024-11-19 04:14:45 -07:00

cmd/cc, cmd/gc: set ctxt->debugvlog with debug['v']

LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/118610043
This commit is contained in:
Shenghou Ma 2014-08-06 00:27:14 -04:00
parent 45bd2f8c45
commit ae027f52fe
2 changed files with 2 additions and 0 deletions

View File

@ -203,6 +203,7 @@ main(int argc, char *argv[])
flagparse(&argc, &argv, usage);
ctxt->debugasm = debug['S'];
ctxt->debugvlog = debug['v'];
if(argc < 1 && outfile == 0)
usage();

View File

@ -319,6 +319,7 @@ main(int argc, char *argv[])
flagparse(&argc, &argv, usage);
ctxt->debugasm = debug['S'];
ctxt->debugvlog = debug['v'];
if(argc < 1)
usage();