]> Cypherpunks repositories - gostls13.git/commit
cmd/link: generate DWARF info using symbols
authorRyan Brown <ribrdb@google.com>
Mon, 14 Mar 2016 16:23:04 +0000 (09:23 -0700)
committerDavid Crawshaw <crawshaw@golang.org>
Wed, 6 Apr 2016 23:50:14 +0000 (23:50 +0000)
commita037c73ccfc7c35a389e95ffa7996c8dd38e0cde
tree43efb5763868953000ca4ed0a1d323c6e237daaa
parent0382a30dd6cd78efd9fb27bfed50dd1d6d7f722b
cmd/link: generate DWARF info using symbols

This updates dwarf.go to generate debug information as symbols
instead of directly writing to the output file. This should make
it easier to move generation of some of the debug info into the compiler.

Change-Id: Id2358988bfb689865ab4d68f82716f0676336df4
Reviewed-on: https://go-review.googlesource.com/20679
Reviewed-by: David Crawshaw <crawshaw@golang.org>
Run-TryBot: David Crawshaw <crawshaw@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
13 files changed:
src/cmd/internal/obj/link.go
src/cmd/link/internal/amd64/asm.go
src/cmd/link/internal/arm/asm.go
src/cmd/link/internal/arm64/asm.go
src/cmd/link/internal/ld/data.go
src/cmd/link/internal/ld/dwarf.go
src/cmd/link/internal/ld/elf.go
src/cmd/link/internal/ld/macho.go
src/cmd/link/internal/ld/symtab.go
src/cmd/link/internal/mips64/asm.go
src/cmd/link/internal/ppc64/asm.go
src/cmd/link/internal/s390x/asm.go
src/cmd/link/internal/x86/asm.go