DWARF Debugging Format DWARF Debugging Standard Wiki

DWARF Version Numbers

The versions applicable by section are, so far:

DWARF2 DWARF3 DWARF4 DWARF5
.debug_abbrev - - - -
.debug_addr x x x 5
.debug_aranges 2 2 2 2
.debug_frame 1 3 4 4
.debug_info 2 3 4 5
.debug_line 2 3 4 5
.debug_line_str x x x -
.debug_loc - - - x
.debug_loclists x x x 5
.debug_macinfo - - - x
.debug_macro x x x 5
.debug_names x x x 5
.debug_pubtypes x 2 2 x
.debug_pubnames 2 2 2 x
.debug_ranges x - - x
.debug_rnglists x x x 5
.debug_str - - - -
.debug_str_offsets x x x 5
.debug_sup x x x 5
.debug_types x x 4 x

“-” means there is no version number in the section.
“x” means the section does not exist in that version.

dwarfstd.org is supported by Sourceware. Contributions are welcome.

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.