]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: Avoid and filter out zero-length location-lists.
authorDavid Chase <drchase@google.com>
Thu, 15 Nov 2018 19:11:19 +0000 (14:11 -0500)
committerDavid Chase <drchase@google.com>
Wed, 12 Dec 2018 12:36:08 +0000 (12:36 +0000)
commit321a3d6e85e6440b5c753b3fd6a0e028dcc08143
treec8009af2e8affa6497ab8b18f651eb2141e81bde
parent41d0dc49d2e6bfb96bd87c7a1ded9ed20b602281
cmd/compile: Avoid and filter out zero-length location-lists.

This change avoids creating zero length location lists by
repairing an overly aggressive change in CL146718
and by explicitly checking for and filtering out any
zero-length lists that are detected (building
compiler+runtime creates a single one).

Updates #28486.

Change-Id: I01c571fee2376474c7f3038e801bd58fd9e0b820
Reviewed-on: https://go-review.googlesource.com/c/150097
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
src/cmd/compile/internal/ssa/debug.go