]> Cypherpunks repositories - gostls13.git/commit
cmd/link: move type name mangling after deadcode elimination
authorAlessandro Arzilli <alessandro.arzilli@gmail.com>
Thu, 23 Aug 2018 12:01:59 +0000 (14:01 +0200)
committerHeschi Kreinick <heschi@google.com>
Tue, 28 Aug 2018 20:56:26 +0000 (20:56 +0000)
commit618bfb28dc02c410659312f38cd3500352ba15ed
treeb337484c0b72f2845a88e10578999c2ef266abaa
parent7c7cecc1846aaaa0ce73931644fe1df2b4559e09
cmd/link: move type name mangling after deadcode elimination

Moves type name mangling after deadcode elimination. The motivation for
doing this is to create a space between deadcode elimination and type name
mangling where DWARF generation for types and variables can exist, to fix
issue #23733.

Change-Id: I9db8ecc0f4efe3df6c1e4025f02642fd452f9a39
Reviewed-on: https://go-review.googlesource.com/111236
Reviewed-by: Heschi Kreinick <heschi@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/link/internal/ld/lib.go
src/cmd/link/internal/ld/main.go
src/cmd/link/internal/sym/symbols.go