compiler: export thunks referenced by inline functions
authorIan Lance Taylor <iant@golang.org>
Fri, 14 Aug 2020 22:27:15 +0000 (15:27 -0700)
committerIan Lance Taylor <iant@golang.org>
Mon, 17 Aug 2020 23:32:53 +0000 (16:32 -0700)
commitf99dc8f89ddd5b93d9cd0a32ac22f60b211a39af
tree773d2ab46e9a8a78d5dfde4df81ae51f21dee806
parentb00a83047574eb6f8d1e670ad439609125873506
compiler: export thunks referenced by inline functions

The test case is https://golang.org/cl/248637.

Fixes golang/go#40252

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/248638
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/expressions.cc
gcc/go/gofrontend/gogo.cc