]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/internal/obj: support -S flag in newobj mode
authorCherry Zhang <cherryyz@google.com>
Wed, 9 Oct 2019 01:43:20 +0000 (21:43 -0400)
committerCherry Zhang <cherryyz@google.com>
Thu, 10 Oct 2019 22:05:21 +0000 (22:05 +0000)
commitffca64dcf35e6298d25c87f3ab42c182c355c268
tree0692066dd10053c7af22c6b14fc1447d076002d9
parent8a9be4921a3cc91c80c02bb5b4cf2ad129c0c7cc
[dev.link] cmd/internal/obj: support -S flag in newobj mode

When the compiler's -S flag is specified, it dumps the
disassembly. Add this when writing the new style object file.

Change-Id: I4cf85e57d22d0ceea1fda6d3b59fe363573659e7
Reviewed-on: https://go-review.googlesource.com/c/go/+/200100
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/internal/obj/objfile.go
src/cmd/internal/obj/objfile2.go