]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: make sure alg functions are generated when we call them
authorCherry Zhang <cherryyz@google.com>
Fri, 6 Jul 2018 00:31:33 +0000 (20:31 -0400)
committerCherry Zhang <cherryyz@google.com>
Tue, 10 Jul 2018 01:20:45 +0000 (01:20 +0000)
commitc801232525575a6b473cdfd446de30905a6d15e3
tree39d10e04bb51d0607fbe401fb6efc4524aef42ea
parent5f256dc8e62bbfda861bf404678f653c14970540
cmd/compile: make sure alg functions are generated when we call them

When DWARF is disabled, some alg functions were not generated.
Make sure they are generated when we about to generate calls to
them.

Fixes #23546.

Change-Id: Iecfa0eea830e42ee92e55268167cefb1540980b2
Reviewed-on: https://go-review.googlesource.com/122403
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
src/cmd/compile/internal/gc/reflect.go
test/fixedbugs/issue23545.go
test/fixedbugs/issue23546.go [new file with mode: 0644]