]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: export the Func.Endlineno field
authorYury Smolsky <yury@smolsky.by>
Thu, 26 Jul 2018 09:46:50 +0000 (12:46 +0300)
committerJosh Bleecher Snyder <josharian@gmail.com>
Thu, 23 Aug 2018 05:11:26 +0000 (05:11 +0000)
commitc374984e99888bb2e2dd6c331a1328275debe19d
tree1de2571adcb328e64364d4b06f366177e89f4d57
parentc35069d6428d29b12088731aab35cbff1e504a28
cmd/compile: export the Func.Endlineno field

This CL exports the Func.Endlineno value for inlineable functions.
It is needed to grab the source code of an imported function
inlined into the function specified in $GOSSAFUNC.

See CL 126606 for details.

Updates #25904

Change-Id: I1e259e20445e4109b4621a95abb5bde1be457af1
Reviewed-on: https://go-review.googlesource.com/126605
Run-TryBot: Yury Smolsky <yury@smolsky.by>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/gc/iexport.go
src/cmd/compile/internal/gc/iimport.go