DWARF Standard


180517.1 Tom Tromey Variant parts without a discriminant Clarification Open

Section 5.7.10, pg 123

I worked recently on adding variant part DWARF output to the Rust 
compiler and LLVM.  While doing so I found this text in 5.7.10:

If the variant part does not have a discriminant (tag field), the 
variant part entry has a DW_AT_type attribute to represent the tag type.

I did not know how to interpret this.  I searched and found a dwarf-discuss 
thread touching on this topic, in particular this message:


.. which unfortunately merely expresses the same confusion that I have.

I suggest simply removing this paragraph from the standard.

Rust needs tagless variants, but I will file a separate issue for that.

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.