]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.9: DWARF lexical scopes are only with -N -l
authorAustin Clements <austin@google.com>
Fri, 7 Jul 2017 15:12:22 +0000 (11:12 -0400)
committerAustin Clements <austin@google.com>
Fri, 7 Jul 2017 19:30:11 +0000 (19:30 +0000)
Change-Id: If1c602176e0bea66924983eab8edd5e450228b68
Reviewed-on: https://go-review.googlesource.com/47792
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
doc/go1.9.html

index 9110ab7de4069b55571dd2b3520a4296b0c9884b..c5281d7b34c93be87afec20ff4d671daf8e299bb 100644 (file)
@@ -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>