1
0
mirror of https://github.com/golang/go synced 2024-11-19 21:54:40 -07:00
go/src/cmd
David Chase bd41c6783b cmd/compile: improve debugging output for GOSSAFUNC
This changes the assembly language output to use the
innermost (instead of outermost) position for line
number and file.

The file is printed separately, only when it changes,
to remove redundant and space-consuming noise from the
output.

Unknown positions have line number "?"

The output format was changed slightly to make it
easier to read.

One source of gratuitous variation in debugging output was
removed.

Change-Id: I1fd9c8b0ddd82766488582fb684dce4b04f35723
Reviewed-on: https://go-review.googlesource.com/78895
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
2017-11-21 16:29:33 +00:00
..
addr2line
api all: revert "all: prefer strings.IndexByte over strings.Index" 2017-10-05 23:19:10 +00:00
asm cmd/internal/obj/arm64: fix assemble msr/mrs bug 2017-11-21 14:00:35 +00:00
buildid cmd/buildid: add new tool factoring out code needed by go command 2017-10-11 18:16:02 +00:00
cgo cmd/cgo: special case C ptr types to use uintptr 2017-11-17 22:11:03 +00:00
compile cmd/compile: improve debugging output for GOSSAFUNC 2017-11-21 16:29:33 +00:00
cover cmd/cover: do not report coverage for assembly functions 2017-11-16 01:41:51 +00:00
dist cmd/dist: skip SWIG tests on Android 2017-11-18 16:15:19 +00:00
doc cmd/doc: don't print a declaration twice 2017-11-20 05:08:37 +00:00
fix cmd/cgo: special case C ptr types to use uintptr 2017-11-17 22:11:03 +00:00
go cmd/go: fix typo in error message 2017-11-19 22:41:07 +00:00
gofmt
internal cmd/compile: improve debugging output for GOSSAFUNC 2017-11-21 16:29:33 +00:00
link cmd/link: use . as DW_AT_comp_dir 2017-11-21 15:22:20 +00:00
nm cmd/internal/goobj: accept int64 in readInt 2017-11-01 18:23:58 +00:00
objdump cmd/objdump: pass the correct execution mode to x86asm.Decode in disasm_x86 on 386 2017-11-10 20:11:20 +00:00
pack cmd/pack: fix export data truncation bug 2017-09-09 14:13:33 +00:00
pprof
test2json cmd/test2json: document time.Time JSON format 2017-11-10 18:17:38 +00:00
trace cmd/internal/obj, cmd/trace: restore bounds checks dropped in CL 56950 2017-11-16 16:29:08 +00:00
vendor cmd/vendor/.../pprof: do not run test that opens web browser 2017-11-10 01:42:10 +00:00
vet cmd/vet: shorten diagnostic about suspicious struct tag spaces 2017-11-16 01:07:39 +00:00