Dwarf Version Numbers

From wiki.dwarfstd.org
Jump to navigation Jump to search

As DWARF4 is not released the list of entries for DWARF4 and indeed the existence of DWARF4 must be considered speculative.

The versions applicable by section are, so far:

                      DWARF2    DWARF3 DWARF4
.debug_info             2         3     4
.debug_abbrev           -         -     -
.debug_frame            1         3     3
.debug_str              -         -     -
.debug_loc              -         -     -
.debug_line             2         3     3
.debug_aranges          2         2     2
.debug_ranges           x         -     -
.debug_pubtypes         x         2     2
.debug_pubnames         2         2     2
.debug_macinfo          -         -     -

Where - means there is no version number in the section. Where x means the section did not exist in that version.