Skip to content

Commit c8a91ed

Browse files
doc/go1.14: mention changes to debug/dwarf
Updates #36878 Change-Id: Icfbf9074c731d64198b4760e1902bbd09fcc1349 Reviewed-on: https://go-review.googlesource.com/c/go/+/217067 Reviewed-by: Austin Clements <austin@google.com>
1 parent 753d56d commit c8a91ed

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

doc/go1.14.html

+31
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,37 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
512512

513513
</dl><!-- crypto/tls -->
514514

515+
<dl id="debug/dwarf"><dt><a href="/pkg/debug/dwarf/">debug/dwarf</a></dt>
516+
<dd>
517+
<p><!-- CL 175138 -->
518+
The <code>debug/dwarf</code> package now supports reading DWARF
519+
version 5.
520+
</p>
521+
<p>
522+
The new
523+
method <a href="/pkg/debug/dwarf/#Data.AddSection"><code>(*Data).AddSection</code></a>
524+
supports adding arbitrary new DWARF sections from the input file
525+
to the DWARF <code>Data</code>.
526+
</p>
527+
528+
<p><!-- CL 192698 -->
529+
The new
530+
method <a href="/pkg/debug/dwarf/#Reader.ByteOrder"><code>(*Reader).ByteOrder</code></a>
531+
returns the byte order of the current compilation unit.
532+
This may be used to interpret attributes that are encoded in the
533+
native ordering, such as location descriptions.
534+
</p>
535+
536+
<p><!-- CL 192699 -->
537+
The new
538+
method <a href="/pkg/debug/dwarf/#LineReader.Files"><code>(*LineReader).Files</code></a>
539+
returns the file name table from a line reader.
540+
This may be used to interpret the value of DWARF attributes such
541+
as <code>AttrDeclFile</code>.
542+
</p>
543+
</dd>
544+
</dl><!-- debug/dwarf -->
545+
515546
<dl id="encoding/asn1"><dt><a href="/pkg/encoding/asn1/">encoding/asn1</a></dt>
516547
<dd>
517548
<p><!-- CL 126624 -->

0 commit comments

Comments
 (0)