]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: add DWARF reg defs & fix 32-bit location list bug
authorDavid Chase <drchase@google.com>
Wed, 7 Mar 2018 21:21:47 +0000 (16:21 -0500)
committerDavid Chase <drchase@google.com>
Fri, 9 Mar 2018 23:17:18 +0000 (23:17 +0000)
commit0eacf8cbdfaec174f29fd8c734ac2f02442af79a
tree9d1eda633654e0f7328e1676d18273fbe1f3f55f
parent99c30211b1e0b3ac4e5d32f3ae5eaf759c23195f
cmd/compile: add DWARF reg defs & fix 32-bit location list bug

Before DWARF location lists can be turned on, 3 bugs need
fixing.

This CL addresses two -- lack of register definitions for
various architectures, and bugs on 32-bit platforms.
The third bug comes later.

Passes
GO_GCFLAGS=-dwarflocationlists ./run.bash -no-rebuild
(-no-rebuild because the map dependence causes trouble)

Change-Id: I4223b48ade84763e4b048e4aeb81149f082c7bc7
Reviewed-on: https://go-review.googlesource.com/99255
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/compile/internal/ssa/debug.go
src/cmd/internal/obj/arm/a.out.go
src/cmd/internal/obj/arm/obj5.go
src/cmd/internal/obj/mips/a.out.go
src/cmd/internal/obj/mips/obj0.go
src/cmd/internal/obj/ppc64/a.out.go
src/cmd/internal/obj/ppc64/obj9.go
src/cmd/internal/obj/s390x/a.out.go
src/cmd/internal/obj/s390x/objz.go