]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: reject large argument areas
authorKeith Randall <khr@google.com>
Tue, 29 May 2018 16:30:12 +0000 (09:30 -0700)
committerKeith Randall <khr@golang.org>
Tue, 29 May 2018 16:58:05 +0000 (16:58 +0000)
commitd15d0550544fc6392ff58a99939eeb907a823737
tree85adb6cd381ae5d3a9c05567128083c75aa49f25
parentab922e1012f75bdb7cff041b0da4bb16a40c64c2
cmd/compile: reject large argument areas

Extend stack frame limit of 1GB to include large argument/return areas.
Argument/return areas are part of the parent frame, not the frame itself,
so they need to be handled separately.

Fixes #25507.

Change-Id: I309298a58faee3e7c1dac80bd2f1166c82460087
Reviewed-on: https://go-review.googlesource.com/115036
Run-TryBot: Keith Randall <khr@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/gc/pgen.go
src/go/types/stdlib_test.go
test/fixedbugs/issue25507.go [new file with mode: 0644]