DWARF Standard


HOME
SPECIFICATIONS
FAQ
ISSUES



DWARF v6 Language and Version Codes


Issue 210419.1 introduced a way to separately specify languages and versions which is expected to be adopted for DWARF Version 6. As described in the proposal, each supported language has a specified value for DW_AT_language_name and each version of that language has a unique DW_AT_language_version.

New language codes and version codes may be requested by submitting a request on the Public Comment page.

Language Language Code (DW_AT_language_name) Value Default Lower Bound Version Codes (DW_AT_language_version)
ISO Ada †DW_LNAME_Ada0x00011
BLISSDW_LNAME_BLISS0x00020
C (K&R and ISO)DW_LNAME_C0x00030 K&R 000000
ISO C++DW_LNAME_C_plus_plus0x00040 C++98 199711
C++11 201103
C++14 201402
C++17 201703
C++20 202002
ISO Cobol †DW_LNAME_Cobol0x00051
CrystalDW_LNAME_Crystal0x00060
DDW_LNAME_D0x00070
DylanDW_LNAME_Dylan0x00080
ISO FortranDW_LNAME_Fortran0x00091
Go †DW_LNAME_Go0x000a0
Haskell †DW_LNAME_Haskell0x000b0
JavaDW_LNAME_Java0x000c0
JuliaDW_LNAME_Julia0x000d1
KotlinDW_LNAME_Kotlin0x000e0
Modula 2DW_LNAME_Modula20x000f1
Modula 3 †DW_LNAME_Modula30x00101
Ojective CDW_LNAME_ObjC0x00110
Ojective C++DW_LNAME_ObjC_plus_plus0x00120
OCamlDW_LNAME_OCaml0x00130
OpenCL †DW_LNAME_OpenCL0x00140
ISO PascalDW_LNAME_Pascal0x00151
ANSI PL/I †DW_LNAME_PLI0x00161
Python †DW_LNAME_Python0x00170
RenderScriptDW_LNAME_RenderScript0x00180
RustDW_LNAME_Rust0x00190
SwiftDW_LNAME_Swift0x001a0
Unified Parallel C (UPC)DW_LNAME_UPC0x001b0
ZigDW_LNAME_Zig0x001c0


† -- Names marked with † and their associated values are reserved, but the languages they represent are not well supported.

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2007-2022 by DWARF Standards Committee.