From c027ecfdbaccc3baca8b7a2bf828ec8ba26f20fd Mon Sep 17 00:00:00 2001
From: Austin Clements
Date: Fri, 7 Jul 2017 11:12:22 -0400
Subject: [PATCH] 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
---
doc/go1.9.html | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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
- The compiler now includes lexical scopes in the generated DWARF, allowing
+ The compiler now includes lexical scopes in the generated DWARF if the
+ -N -l
flags are provided, allowing
debuggers to hide variables that are not in scope. The .debug_info
section is now DWARF version 4.
--
2.50.0