aboutsummaryrefslogtreecommitdiff
path: root/src/database/sql/example_test.go
diff options
context:
space:
mode:
authorThan McIntosh <thanm@google.com>2019-03-22 08:14:45 -0400
committerThan McIntosh <thanm@google.com>2019-03-25 14:03:40 +0000
commit68a98d52794fc324841f62732411f6bba23fc62c (patch)
tree765ef7935fdb4aee5608a0becf1f7647d3b5a301 /src/database/sql/example_test.go
parent9eef9648005c17681800fdb55ed2404ab769761e (diff)
downloadgo-68a98d52794fc324841f62732411f6bba23fc62c.tar.xz
cmd/compile: better handling for PAUTOHEAP in DWARF inline gen
When generating DWARF inline info records, the post-SSA code looks through the original "pre-inline" dcl list for the function so as to handle situations where formal params are promoted or optimized away. This code was not properly handling the case where an output parameter was promoted to the heap -- in this case the param node is converted in place from class PPARAMOUT to class PAUTOHEAP. This caused inconsistencies later on, since the variable entry in the abstract subprogram DIE wound up as a local and not an output parameter. Fixes #30908. Change-Id: Ia70b89f0cf7f9b16246d95df17ad6e307228b8c7 Reviewed-on: https://go-review.googlesource.com/c/go/+/168818 Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'src/database/sql/example_test.go')
0 files changed, 0 insertions, 0 deletions