]> Cypherpunks repositories - gostls13.git/commit
compiler,linker: support for DWARF inlined instances
authorThan McIntosh <thanm@google.com>
Fri, 6 Oct 2017 15:32:28 +0000 (11:32 -0400)
committerThan McIntosh <thanm@google.com>
Thu, 30 Nov 2017 14:39:19 +0000 (14:39 +0000)
commit4435fcfd6c3e9751b470809307b4afc7c1769098
tree9bc3cb65e4849245ed2e3dda32de48569c4ff497
parentdbb1d198ab883e9b617ba9cdfb2059fc212f4762
compiler,linker: support for DWARF inlined instances

Compiler and linker changes to support DWARF inlined instances,
see https://go.googlesource.com/proposal/+/HEAD/design/22080-dwarf-inlining.md
for design details.

This functionality is gated via the cmd/compile option -gendwarfinl=N,
where N={0,1,2}, where a value of 0 disables dwarf inline generation,
a value of 1 turns on dwarf generation without tracking of formal/local
vars from inlined routines, and a value of 2 enables inlines with
variable tracking.

Updates #22080

Change-Id: I69309b3b815d9fed04aebddc0b8d33d0dbbfad6e
Reviewed-on: https://go-review.googlesource.com/75550
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
17 files changed:
src/cmd/asm/internal/asm/endtoend_test.go
src/cmd/asm/main.go
src/cmd/compile/internal/gc/dwinl.go [new file with mode: 0644]
src/cmd/compile/internal/gc/go.go
src/cmd/compile/internal/gc/gsubr.go
src/cmd/compile/internal/gc/inl.go
src/cmd/compile/internal/gc/main.go
src/cmd/compile/internal/gc/pgen.go
src/cmd/compile/internal/gc/syntax.go
src/cmd/internal/dwarf/dwarf.go
src/cmd/internal/obj/inl.go
src/cmd/internal/obj/link.go
src/cmd/internal/obj/objfile.go
src/cmd/internal/obj/plist.go
src/cmd/link/internal/ld/dwarf.go
src/cmd/link/internal/ld/dwarf_test.go
src/runtime/runtime-gdb_test.go