summaryrefslogtreecommitdiffstats
diff options
authorCary Coutant <ccoutant@gmail.com>2025-03-17 11:02:28 -0700
committerCary Coutant <ccoutant@gmail.com>2025-03-17 11:04:11 -0700
commit5c85bb3d640c8c60c6584836cb11eee3be4582df (patch)
treea3f70de98eed134a7fb8c9b53922751e2fbda17f
parentAccepted 250311.1. (diff)
Updated DWARF 5 Errata.
-rw-r--r--md/errata-dwarf5.md61
1 files changed, 44 insertions, 17 deletions
diff --git a/md/errata-dwarf5.md b/md/errata-dwarf5.md
index 610e7af..afd8535 100644
--- a/md/errata-dwarf5.md
+++ b/md/errata-dwarf5.md
@@ -141,11 +141,35 @@ Clarify meaning of relative paths.
141 141
142*Section 3.1.2 Skeleton Compilation Unit Entries, page 67* 142*Section 3.1.2 Skeleton Compilation Unit Entries, page 67*
143 143
144Change bullet items 6 and 7:
145
146> 6\. A `DW_AT_str_offsets` attribute, for indirect string
147> references from <span class="del">this</span> <span class="add">the</span>
148> skeleton compilation unit <span class="del">to a
149> (non-split) `.debug_str_offsets` section</span>.
150>
151> 7\. A `DW_AT_addr_base` attribute<span class="add">, for indirect references
152> from this skeleton compilation unit and from the
153> corresponding split full compilation unit (See Section 3.1.3)
154> to the compilation unit's contribution to the `.debug_addr` section.
155> *The `DW_AT_addr_base` attribute provides context that may be
156> necessary to interpret the contents of the corresponding
157> split DWARF object file.*</span>
158
144Add `DW_AT_rnglists_base` to list of attributes for a skeleton compilation unit. 159Add `DW_AT_rnglists_base` to list of attributes for a skeleton compilation unit.
145 160
146> <span class="add">8\. A `DW_AT_rnglists_base` attribute.</span> 161> <span class="add">8\. A `DW_AT_rnglists_base` attribute, for range list entry
162> references from this skeleton compilation unit to a
163> (non-split) `.debug_rnglists` section.</span>
164
165Remove the non-normative paragraph:
166
167> <span class="del">*The `DW_AT_addr_base` and `DW_AT_str_offsets_base_`
168> attributes provides context that may
169> be necessary to interpret the contents of the
170> corresponding split DWARF object file.*</span>
147 171
148[Issue [200709.1][200709.1]] 172[Issues [200709.1][200709.1], [250311.1][250311.1]]
149 173
150--- 174---
151 175
@@ -200,7 +224,7 @@ Clarify use of call site entries for tail recursion and optimized-out calls.
200> `DW_TAG_call_site` entries describe normal and tail calls but not tail recursion 224> `DW_TAG_call_site` entries describe normal and tail calls but not tail recursion
201> calls, while `DW_TAG_inlined_subroutine` entries describe inlined calls (see 225> calls, while `DW_TAG_inlined_subroutine` entries describe inlined calls (see
202> Section 3.3.8 on page 81). Call site entries <span class="del">cannot</span> 226> Section 3.3.8 on page 81). Call site entries <span class="del">cannot</span>
203> <span class="add">without DW_AT_call_return_pc attribute may</span> 227> <span class="add">without a `DW_AT_call_return_pc` attribute may</span>
204> describe tail recursion or optimized out calls. 228> describe tail recursion or optimized out calls.
205 229
206[Issue [211103.1][211103.1]] 230[Issue [211103.1][211103.1]]
@@ -633,6 +657,22 @@ In Table 7.5, change class for `DW_AT_call_origin` to reference.
633 657
634--- 658---
635 659
660*Section 7.5.5 Classes and Forms, pages 215–216*
661
662In the first bullet item under `loclist`, add reference to the `.dwo` section:
663
664> - An index into the `.debug_loclists` <span class="add">or `.debug_loclists.dwo`</span>
665> section (`DW_FORM_loclistx`)....
666
667In the first bullet item under `rnglist`, add reference to the `.dwo` section:
668
669> - An index into the `.debug_rnglists` <span class="add">or `.debug_rnglists.dwo`</span>
670> section (`DW_FORM_rnglistx`)....
671
672[Issue [250311.1][250311.1]]
673
674---
675
636*Section 7.5.5 Classes and Forms, page 217* 676*Section 7.5.5 Classes and Forms, page 217*
637 677
638Remove text about references from one module to another. 678Remove text about references from one module to another.
@@ -779,19 +819,6 @@ and remove first paragraph on page 393.
779 819
780[Issue [211102.1][211102.1]] 820[Issue [211102.1][211102.1]]
781 821
782---
783
784*Section F.1 Overview, page 395*
785
786In Table F.1, add checkmark in Skeleton column for `DW_AT_rnglists_base`.
787
788> Attribute | ... | Skeleton | Split Full | Split Type
789> --------- | --- | :------: | :--------: | :--------:
790> `DW_AT_loclists_base` | | | |
791> `DW_AT_rnglists_base` | | <span class="add">✓</span> | |
792> `DW_AT_str_offsets_base` | | ✓ | |
793
794[Issue [240618.2][240618.2]]
795 822
796[171103.1]: https://dwarfstd.org/issues/171103.1.html 823[171103.1]: https://dwarfstd.org/issues/171103.1.html
797[171130.1]: https://dwarfstd.org/issues/171130.1.html 824[171130.1]: https://dwarfstd.org/issues/171130.1.html
@@ -824,6 +851,6 @@ In Table F.1, add checkmark in Skeleton column for `DW_AT_rnglists_base`.
824[230329.1]: https://dwarfstd.org/issues/230329.1.html 851[230329.1]: https://dwarfstd.org/issues/230329.1.html
825[230808.1]: https://dwarfstd.org/issues/230808.1.html 852[230808.1]: https://dwarfstd.org/issues/230808.1.html
826[240320.2]: https://dwarfstd.org/issues/240320.2.html 853[240320.2]: https://dwarfstd.org/issues/240320.2.html
827[240618.2]: https://dwarfstd.org/issues/240618.2.html
828[241231.1]: https://dwarfstd.org/issues/241231.1.html 854[241231.1]: https://dwarfstd.org/issues/241231.1.html
829[241231.2]: https://dwarfstd.org/issues/241231.2.html 855[241231.2]: https://dwarfstd.org/issues/241231.2.html
856[250311.1]: https://dwarfstd.org/issues/250311.1.html