1
0
mirror of https://github.com/golang/go synced 2024-11-06 00:36:14 -07:00
go/src/cmd
Todd Neal dc444418d9 cmd/internal: remove duplicate pathToPrefix function
goobj.importPathToPrefix is 3x faster than gc.pathToPrefix so rename and
move it to cmd/internal/objabi which is already imported by both goobj and
gc.

Change-Id: I10eda5bce95ef6d5d888818c5c47258c2833ea45
Reviewed-on: https://go-review.googlesource.com/40875
Run-TryBot: Todd Neal <todd@tneal.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
2017-04-19 11:47:45 +00:00
..
addr2line cmd/go: build test binaries with -s in addition to -w 2017-03-29 17:18:16 +00:00
api
asm cmd/internal/objabi: extract shared functionality from obj 2017-04-19 00:00:09 +00:00
cgo cmd/cgo: read source files once 2017-04-18 22:59:42 +00:00
compile cmd/internal: remove duplicate pathToPrefix function 2017-04-19 11:47:45 +00:00
cover
dist cmd/internal/objabi: extract shared functionality from obj 2017-04-19 00:00:09 +00:00
doc cmd/doc: implement "go doc struct.field" 2017-03-22 05:37:50 +00:00
fix cmd/fix,cmd/gofmt: flush to disk before diffing 2017-03-30 18:19:57 +00:00
go cmd/go/internal/work: clean up after TestRespectGroupSticky 2017-04-17 18:05:22 +00:00
gofmt cmd/fix,cmd/gofmt: flush to disk before diffing 2017-03-30 18:19:57 +00:00
internal cmd/internal: remove duplicate pathToPrefix function 2017-04-19 11:47:45 +00:00
link cmd/internal: remove duplicate pathToPrefix function 2017-04-19 11:47:45 +00:00
nm all: fix some printf format strings 2017-02-14 02:09:30 +00:00
objdump cmd/objdump: print Go code alongside assembly 2017-04-05 06:20:40 +00:00
pack
pprof cmd/pprof: update README to explain relationship with github.com/google/pprof 2017-04-10 19:51:01 +00:00
trace cmd/trace: traces may end with pending mark assists 2017-03-02 18:33:54 +00:00
vendor cmd/vendor/github.com/google/pprof: refresh from upstream 2017-03-01 21:36:03 +00:00
vet cmd/vet: make tests safe for perl 5.26 2017-04-18 22:57:34 +00:00