diff options
| -rw-r--r-- | md/issues/250929.1.md | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/md/issues/250929.1.md b/md/issues/250929.1.md new file mode 100644 index 0000000..8cc8f74 --- /dev/null +++ b/md/issues/250929.1.md | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | Title: Highlight that DW_AT_language_version is just that | ||
| 2 | Author: Ron Brender | ||
| 3 | Email: ron.brender@gmail.com | ||
| 4 | Champion: Ron Brender | ||
| 5 | Submit-Date: 2025-09-29 | ||
| 6 | Revised-Date: | ||
| 7 | Closed-Date: | ||
| 8 | Propid: 250929.1 | ||
| 9 | Type: Clarification | ||
| 10 | Status: Open | ||
| 11 | Version: 6 | ||
| 12 | Format: markdown | ||
| 13 | Revisions: | ||
| 14 | |||
| 15 | It was noted during discussion of Issue [250924.1][250924.1]: Add | ||
| 16 | language codes for BEAM languages (Erlang, Elixir, Gleam) at | ||
| 17 | the September 29, 2025 DWARF meeting that the compiler or | ||
| 18 | other implementation version codes are sometimes confused | ||
| 19 | with language definition codes. | ||
| 20 | |||
| 21 | The definition of attribute `DW_AT_language_version` is given | ||
| 22 | as bullet 4 in Section 3.1.1 Full and Partial Compilation | ||
| 23 | Unit Entries of recent DRAFT V6 documents, as in | ||
| 24 | |||
| 25 | > A `DW_AT_language_version` attribute may be specified whose | ||
| 26 | > constant value is an integer value that indicates the | ||
| 27 | > version of the source language. This value is encoded using | ||
| 28 | > one of several schemes as shown in Table 3.2 on the | ||
| 29 | > following page. A value of zero is equivalent to omitting | ||
| 30 | > this attribute. | ||
| 31 | |||
| 32 | ## PROPOSAL | ||
| 33 | |||
| 34 | At the end of the first sentence quoted above, add the | ||
| 35 | following footnote: | ||
| 36 | |||
| 37 | > [1] The language version must not be confused with a compiler | ||
| 38 | > or other implementation-related version code associated with | ||
| 39 | > a language. The language version is specified by the | ||
| 40 | > individual, committee or other authority that develops and | ||
| 41 | > maintains the language definition as such (independent of | ||
| 42 | > any implementation). | ||
| 43 | |||
| 44 | [250924.1]: https://dwarfstd.org/issues/250924.1.html | ||
