go/src/cmd
Keith Randall 41eabc0fc7 cmd/compile: fix merge rules for panic calls
Use entire inlining call stack to decide whether two panic calls
can be merged. We used to merge panic calls when only the leaf
line numbers matched, but that leads to places higher up the call
stack being merged incorrectly.

Fixes #22083

Change-Id: Ia41400a80de4b6ecf3e5089abce0c42b65e9b38a
Reviewed-on: https://go-review.googlesource.com/67632
Run-TryBot: Emmanuel Odeke <emm.odeke@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
2017-10-03 09:27:37 +00:00
..
addr2line cmd/go: build test binaries with -s in addition to -w 2017-03-29 17:18:16 +00:00
api all: prefer strings.IndexByte over strings.Index 2017-09-25 17:35:41 +00:00
asm cmd/internal/obj/x86: add ADDSUBPS/PD 2017-09-18 15:06:05 +00:00
cgo cmd/cgo: simplify a call to strip spaces 2017-09-27 19:52:55 +00:00
compile cmd/compile: fix merge rules for panic calls 2017-10-03 09:27:37 +00:00
cover cmd/cover: take default value of total only once. 2017-06-02 17:59:12 +00:00
dist all: prefer strings.IndexByte over strings.Index 2017-09-25 17:35:41 +00:00
doc all: prefer strings.LastIndexByte over strings.LastIndex 2017-09-27 00:54:24 +00:00
fix all: prefer strings.LastIndexByte over strings.LastIndex 2017-09-27 00:54:24 +00:00
go cmd/go: drop PackageInternal.External, SFiles 2017-10-02 14:26:58 +00:00
gofmt cmd/fix,cmd/gofmt: flush to disk before diffing 2017-03-30 18:19:57 +00:00
internal cmd/compile: cover control flow insns in location lists 2017-09-28 20:30:12 +00:00
link cmd/link/internal/ld: reduce the scope of some local declarations 2017-10-01 22:00:18 +00:00
nm cmd/link: don't use internal linking mode for cgo on PPC64 2017-09-26 15:06:32 +00:00
objdump cmd/objdump: fix and re-enable arm test 2017-10-02 16:11:26 +00:00
pack cmd/pack: fix export data truncation bug 2017-09-09 14:13:33 +00:00
pprof cmd/pprof: restore printing descriptive errors from net/http/pprof endpoints 2017-06-15 02:14:24 +00:00
trace all: correct location of go tool 2017-09-20 03:54:16 +00:00
vendor cmd/vendor/golang.org/x/arch: pull latest updates from x repo (commit edaf650) 2017-08-25 14:13:13 +00:00
vet cmd/vet: in rangeloop check, inspect for loop variables too 2017-10-02 17:45:00 +00:00