DWARF Debugging Format DWARF Debugging Standard Wiki

Several kinds of FORMs have multiple sized variants and also have a LEB-based variant which could be used in place of the others.

DW_FORM_ref_addr must be relocatable, so it can\’t be an LEB. Some uses of DW_FORM_data4/8 must be relocatable, so we need to keep them or replace them with a new form like DW_FORM_sec_offset.

What is the rationale for having fixed-size variants? Why not deprecate them in favor of the LEB variants?

Perhaps some assemblers might not be able to use LEBs in all the cases where they need to?

Marking them as \“don\’t use this, use this other thing instead\” would be helpful in drawing out implementations that require the feature. I\’d like to hear from them if possible, so that we can streamline future versions of dwarf.

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.