summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2017-07-07 11:12:22 -0400
committerAustin Clements <austin@google.com>2017-07-07 19:30:11 +0000
commitc027ecfdbaccc3baca8b7a2bf828ec8ba26f20fd (patch)
tree5668af00a92730c2f9cd7bab8ced73d1c2cd7176 /doc
parent590f47558d875691190b059f2696d2f9d0bf9c66 (diff)
downloadgo-git-c027ecfdbaccc3baca8b7a2bf828ec8ba26f20fd.tar.gz
doc/go1.9: DWARF lexical scopes are only with -N -l
Change-Id: If1c602176e0bea66924983eab8edd5e450228b68 Reviewed-on: https://go-review.googlesource.com/47792 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/go1.9.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/go1.9.html b/doc/go1.9.html
index 9110ab7de4..c5281d7b34 100644
--- a/doc/go1.9.html
+++ b/doc/go1.9.html
@@ -168,7 +168,8 @@ type T1 = T2
</p>
<p> <!-- CL 44210, CL 40095 -->
- The compiler now includes lexical scopes in the generated DWARF, allowing
+ The compiler now includes lexical scopes in the generated DWARF if the
+ <code>-N -l</code> flags are provided, allowing
debuggers to hide variables that are not in scope. The <code>.debug_info</code>
section is now DWARF version 4.
</p>