go/src/debug
LE Manh Cuong b37b35edd7 debug/gosym: simplify parsing symbol name rule
Symbol name with linker prefix like "type." and "go." is not parsed
correctly and returns the prefix as parts of package name.

So just returns empty string for symbol name start with linker prefix.

Fixes #29551

Change-Id: Idb4ce872345e5781a5a5da2b2146faeeebd9e63b
Reviewed-on: https://go-review.googlesource.com/c/go/+/156397
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2019-03-09 00:24:42 +00:00
..
dwarf all: use "reports whether" consistently instead of "returns whether" 2018-12-02 15:12:26 +00:00
elf debug/elf: perform stricter section header table checks in NewFile 2019-03-01 06:04:20 +00:00
gosym debug/gosym: simplify parsing symbol name rule 2019-03-09 00:24:42 +00:00
macho debug/elf,macho,pe: support compressed DWARF 2018-06-19 22:13:51 +00:00
pe debug/pe: prevent slice out of bounds access in (*File).ImportedSymbols 2019-02-27 08:10:14 +00:00
plan9obj debug/plan9obj: simplify s[:] to s where 2018-10-13 11:24:43 +00:00