1
0
mirror of https://github.com/golang/go synced 2024-11-18 08:04:40 -07:00
go/misc/cgo/testshared/src
Michael Hudson-Doyle 8b07ec20f7 cmd/compile, runtime: make the go.itab.* symbols module-local
Otherwise, the way the ELF dynamic linker works means that you can end up with
the same itab being passed to additab twice, leading to the itab linked list
having a cycle in it. Add a test to additab in runtime to catch this when it
happens, not some arbitrary and surprsing time later.

Fixes #17594

Change-Id: I6c82edcc9ac88ac188d1185370242dc92f46b1ad
Reviewed-on: https://go-review.googlesource.com/32131
Run-TryBot: Michael Hudson-Doyle <michael.hudson@canonical.com>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-10-27 19:13:35 +00:00
..
dep2 cmd/link: always read type data for dynimport symbols 2016-05-04 07:13:01 +00:00
dep3 cmd/link: always read type data for dynimport symbols 2016-05-04 07:13:01 +00:00
depBase cmd/compile, runtime: make the go.itab.* symbols module-local 2016-10-27 19:13:35 +00:00
exe cmd/compile, runtime: make the go.itab.* symbols module-local 2016-10-27 19:13:35 +00:00
exe2 cmd/compile: do not generate tail calls when dynamic linking on ppc64le 2016-06-02 02:34:01 +00:00
exe3 cmd/link: always read type data for dynimport symbols 2016-05-04 07:13:01 +00:00
execgo
explicit
implicit
implicitcmd
trivial