1
0
mirror of https://github.com/golang/go synced 2024-11-08 09:36:24 -07:00
go/src/cmd/internal
Than McIntosh ec88f781c2 cmd/compile: call objabi.PathToPrefix when emitting abstract fn
When generating an abstract function DIE, call objabi.PathToPrefix on
the import path so as to be consistent with how the linker handles
import paths. This is intended to resolve another problem with DWARF
inline info generation in which there are multiple inconsistent
versions of an abstract function DIE for a function whose package path
is rewritten/canonicalized by objabi.PathToPrefix.

Fixes #26237

Change-Id: I4b64c090ae43a1ad87f47587a1a71f19bc5fc8e8
Reviewed-on: https://go-review.googlesource.com/123036
Run-TryBot: Than McIntosh <thanm@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2018-07-10 18:54:39 +00:00
..
bio cmd/compile: add indexed export format 2018-04-24 01:05:27 +00:00
browser
buildid
dwarf cmd/compile: call objabi.PathToPrefix when emitting abstract fn 2018-07-10 18:54:39 +00:00
edit
gcprog
goobj
obj cmd/internal/obj/s390x: increase maximum number of loop iterations 2018-07-05 07:21:50 +00:00
objabi all: regenerate stringer files 2018-05-29 20:35:41 +00:00
objfile cmd/internal/objfile, debug/macho: support disassembling arm64 Mach-O objects 2018-05-16 15:32:50 +00:00
src cmd/compile: plumb prologueEnd into DWARF 2018-05-14 14:12:31 +00:00
sys cmd/compile: add wasm architecture 2018-05-04 17:56:12 +00:00
test2json cmd/go: revert "output coverage report even if there are no test files" 2018-07-09 14:42:21 +00:00