]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.18: mention new debug/dwarf DataBitOffset fields
authorIan Lance Taylor <iant@golang.org>
Fri, 28 Jan 2022 21:15:16 +0000 (13:15 -0800)
committerIan Lance Taylor <iant@golang.org>
Sat, 29 Jan 2022 19:58:17 +0000 (19:58 +0000)
For #46784
For #47694
For #50685

Change-Id: I5351b56722d036a520d1a598ef7af95c5eb44c35
Reviewed-on: https://go-review.googlesource.com/c/go/+/381778
Trust: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
doc/go1.18.html

index 7db56a46de2e607a7e520a4fcf12feccdc39efe0..c93c91ebbc88a1c978ce01a03e3155c9dc2e2be1 100644 (file)
@@ -595,6 +595,17 @@ Do not send CLs removing the interior tags from such phrases.
   </dd>
 </dl><!-- crypto/tls -->
 
+<dl id="debug/dwarf"><dt><a href="/pkg/debug/dwarf/">debug/dwarf</a></dt>
+  <dd>
+    <p><!-- CL 380714 -->
+      The <a href="/pkg/debug/dwarf#StructField"><code>StructField</code></a>
+      and <a href="/pkg/debug/dwarf#BasicType"><code>BasicType</code></a>
+      structs both now have a <code>DataBitOffset</code> field, which
+      holds the value of the <code>DW_AT_data_bit_offset</code>
+      attribute if present.
+  </dd>
+</dl>
+
 <dl id="debug/elf"><dt><a href="/pkg/debug/elf/">debug/elf</a></dt>
   <dd>
     <p><!-- CL 352829 -->