DWARF Standard


HOME
SPECIFICATIONS
FAQ
ISSUES



DWARF v5 Language Codes


DWARF language codes are documented in Table 7.17 (pages 230-231) of the DWARF Standard, Version 5, reproduced here for your convenience. Between revisions of the Standard, new language codes may be requested by submitting a request on the Public Comment page.

Language Name (DW_AT_language) Value Default Lower Bound
DW_LANG_C890x00010
DW_LANG_C0x00020
DW_LANG_Ada83†0x00031
DW_LANG_C_plus_plus0x00040
DW_LANG_Cobol74†0x00051
DW_LANG_Cobol85†0x00061
DW_LANG_Fortran770x00071
DW_LANG_Fortran900x00081
DW_LANG_Pascal830x00091
DW_LANG_Modula20x000a1
DW_LANG_Java0x000b0
DW_LANG_C990x000c0
DW_LANG_Ada95†0x000d1
DW_LANG_Fortran950x000e1
DW_LANG_PLI†0x000f1
DW_LANG_ObjC0x00100
DW_LANG_ObjC_plus_plus0x00110
DW_LANG_UPC0x00120
DW_LANG_D0x00130
DW_LANG_Python†0x00140
DW_LANG_OpenCL†0x00150
DW_LANG_Go†0x00160
DW_LANG_Modula3†0x00171
DW_LANG_Haskell†0x00180
DW_LANG_C_plus_plus_030x00190
DW_LANG_C_plus_plus_110x001a0
DW_LANG_OCaml0x001b0
DW_LANG_Rust0x001c0
DW_LANG_C110x001d0
DW_LANG_Swift0x001e0
DW_LANG_Julia0x001f1
DW_LANG_Dylan0x00200
DW_LANG_C_plus_plus_140x00210
DW_LANG_Fortran030x00221
DW_LANG_Fortran080x00231
DW_LANG_RenderScript0x00240
DW_LANG_BLISS0x00250

New Language Code Assignments

Language Name Value Default Lower Bound
DW_LANG_Kotlin0x00260
DW_LANG_Zig0x00270
DW_LANG_Crystal0x00280
DW_LANG_C_plus_plus_170x002a0
DW_LANG_C_plus_plus_200x002b0
DW_LANG_C170x002c0
DW_LANG_Fortran180x002d0
DW_LANG_Ada20050x002e0
DW_LANG_Ada20120x002f0
DW_LANG_HIP0x00300


† -- 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.