From: Brad Fitzpatrick Date: Wed, 30 Nov 2016 02:04:09 +0000 (+0000) Subject: doc: add tool sections to go1.8.html X-Git-Tag: go1.8beta1~19 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a745dc930e00a026aea6449ec0e790152eb4bcd4;p=gostls13.git doc: add tool sections to go1.8.html Some still in TODO form. TBR=See https://golang.org/cl/33244 Updates #17929 Change-Id: I63547bed3c6ce34b706821a3c150ae03d7d82cf8 Reviewed-on: https://go-review.googlesource.com/33682 Reviewed-by: Brad Fitzpatrick --- diff --git a/doc/go1.8.html b/doc/go1.8.html index dd6e9af2d8..8021d10ae3 100644 --- a/doc/go1.8.html +++ b/doc/go1.8.html @@ -201,6 +201,56 @@ It has moved to the “tools” repository and is and is available via go get golang.org/x/tools/cmd/goyacc.

+

Fix

+ +

+ The fix tool has a new “context” + fix to change imports from “golang.org/x/net/context” + to “context”. +

+ +

Pprof

+ +

+ The pprof tool can now profile TLS servers + and skip certificate validation by using the "https+insecure" + URL scheme. +

+ +

+ The callgrind output now has instruction-level granularity. +

+ +

+ TODO: more. proto? standalone profiles with symbols? +

+ +

Trace

+ +

TODO:

+
+cmd/trace: add option to output pprof files (CL 23324)
+cmd/trace: fix a runnable goroutine count bug (CL 25552)
+cmd/trace: move process-wide GC events to their own row (CL 30017)
+internal/trace: fix analysis of EvGoWaiting/EvGoInSyscall events (CL 25572)
+
+ +

Vet

+ +

TODO:

+
+cmd/vet: accept space-separated tag lists for compatibility with cmd/go (CL 32030)
+cmd/vet: allow ^& uintptr arithmetic (CL 27156)
+cmd/vet: allow any printf verb with any interface (CL 27127)
+cmd/vet: check for copying of array of locks (CL 24340)
+cmd/vet: check for duplicate json, xml struct field tags (CL 16704)
+cmd/vet: detect defer resp.Body.Close() before error check (CL 32911)
+cmd/vet: diagnose non-space-separated struct tag like `json:"x",xml:"y"` (CL 32031)
+cmd/vet: improve asmdecl parameter handling (CL 27150)
+cmd/vet: properly handle indexed arguments in printf (CL 24391)
+cmd/vet: skip printf check for non-constant format string during failed import (CL 29014)
+
+

Compiler Toolchain

diff --git a/doc/go1.8.txt b/doc/go1.8.txt index 800464dc1e..b03d820e09 100644 --- a/doc/go1.8.txt +++ b/doc/go1.8.txt @@ -18,17 +18,6 @@ cmd/compile/internal/syntax: fast Go syntax trees, initial commit (CL 27195) cmd/compile: add compiler phase timing (CL 24462) cmd/compile: add inline explainer (CL 22782) cmd/compile: enable flag-specified dump of specific phase+function (CL 23044) -cmd/compile: remove -A flag (CL 31497) - -cmd/cover: Fix compiler directives handling (CL 30161) -cmd/cover: change covered block for switch/select case to exclude expression (CL 32612) -cmd/cover: handle gotos (CL 30977) - -cmd/dist, go/build: make CGO_ENABLED during make.bash sticky (CL 31141) -cmd/dist: enable plugin test on darwin/amd64 (CL 29396) -cmd/dist: test PIE internal linking on linux/amd64 (CL 28545) - -cmd/fix: add golang.org/x/net/context fix (CL 28872) cmd/internal/obj, cmd/link: darwin dynlink support (CL 29393) cmd/internal/objfile: add ppc64/ppc64le disassembler support (CL 9682) @@ -48,28 +37,6 @@ cmd/link: split large elf text sections on ppc64x (CL 27790) cmd/link: trampoline support for external linking on ARM (CL 31143) cmd/objdump: implement objdump of .o files (CL 24818) -cmd/pprof: add options to skip tls verification (CL 33157) -cmd/pprof: don't print binary outputs in interactive mode (CL 31123) -cmd/pprof: instruction-level granularity in callgrind output (CL 23781) - -cmd/trace: add option to output pprof files (CL 23324) -cmd/trace: fix a runnable goroutine count bug (CL 25552) -cmd/trace: move process-wide GC events to their own row (CL 30017) -internal/trace: fix analysis of EvGoWaiting/EvGoInSyscall events (CL 25572) - -cmd/vet: accept space-separated tag lists for compatibility with cmd/go (CL 32030) -cmd/vet: allow ^& uintptr arithmetic (CL 27156) -cmd/vet: allow any printf verb with any interface (CL 27127) -cmd/vet: check for copying of array of locks (CL 24340) -cmd/vet: check for duplicate json, xml struct field tags (CL 16704) -cmd/vet: detect defer resp.Body.Close() before error check (CL 32911) -cmd/vet: diagnose non-space-separated struct tag like `json:"x",xml:"y"` (CL 32031) -cmd/vet: improve asmdecl parameter handling (CL 27150) -cmd/vet: properly handle indexed arguments in printf (CL 24391) -cmd/vet: skip printf check for non-constant format string during failed import (CL 29014) - -encoding/xml: prevent omitempty from omitting non-nil pointers to empty values (CL 15684) - fmt: document and adjust Scanf space handling to eliminate a few paradoxes (CL 30611) go/build: allow % in ${SRCDIR} expansion for Jenkins (CL 31611)