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>
This commit is contained in:
Austin Clements 2017-07-07 11:12:22 -04:00
parent 590f47558d
commit c027ecfdba

View 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>