aboutsummaryrefslogtreecommitdiff
path: root/src/testing/example.go
diff options
context:
space:
mode:
authorAlessandro Arzilli <alessandro.arzilli@gmail.com>2017-07-04 08:32:02 +0200
committerHeschi Kreinick <heschi@google.com>2017-09-06 18:33:51 +0000
commit31ddd8a39d802c073c2bcf4b1f4e74f851fa80c4 (patch)
tree4ee24db0a679e6b3c33ed1446031b9a2e471d6a6 /src/testing/example.go
parent84188296e93dd4d26cb0a75a03a9096794e01e2f (diff)
downloadgo-31ddd8a39d802c073c2bcf4b1f4e74f851fa80c4.tar.xz
cmd/compile: more compact DWARF location for locals and arguments
Now that all functions have a DW_AT_frame_base defined we can use DW_OP_fbreg to specify the location of variables and formal parameters, instead of the DW_OP_call_frame_cfa/DW_OP_consts/DW_OP_plus, saving 2 bytes for every variable and 2 bytes for every formal parameter after the first one. Change-Id: I2c7395b67e4a814a0131ab1520df11ca48ff9327 Reviewed-on: https://go-review.googlesource.com/60550 Run-TryBot: Heschi Kreinick <heschi@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com>
Diffstat (limited to 'src/testing/example.go')
0 files changed, 0 insertions, 0 deletions