]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: record regabi status in DW_AT_producer
authorAlessandro Arzilli <alessandro.arzilli@gmail.com>
Sun, 9 May 2021 07:05:45 +0000 (09:05 +0200)
committerThan McIntosh <thanm@google.com>
Mon, 24 May 2021 18:10:39 +0000 (18:10 +0000)
commitb83610699a4ea7da22a146c0eefe0ae4d5ac4610
treee28ad6c29e52457eb751ea2c2095a943a3276ed7
parenta22e3172200d4bdd0afcbbe6564dbb67fea4b03a
cmd/compile: record regabi status in DW_AT_producer

Records if regabi was enabled during compilation in the DW_AT_producer
attribute of each compile unit.
This is useful to debuggers that support the debugCall protocol.

Change-Id: I5ad2c48ebf126aeb8bfb459b53a1a5304550036a
Reviewed-on: https://go-review.googlesource.com/c/go/+/318050
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
src/cmd/compile/internal/dwarfgen/dwarf.go