DWARF Standard


HOME
SPECIFICATIONS
FAQ
ISSUES



140506.1 Mark Wielaard D.4 Member Function Example wrong return type Clarification Accepted Paul Robinson


Section D.4, pg 235

The D.4 Member Function Example flags member functions that don't return a value
with a DW_AT_type pointing to a DW_TAG_unspecified_type with name "void". This is
wrong because the functions don't actually return a "void", the don't return a
value at all and so according to section 3.3.2 they should not have a DW_AT_type at all.

Suggested change:

In Figure 59. Member function example: DWARF description remove the DW_AT_type
(reference to 1$) from the 7$, 10$ and 12$ DW_TAG_subprograms for func1, func2 and func3.

--
Accepted 2014-06-17


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