On 10/14/2016 01:33 PM, Jakub Jelinek wrote:
This also uses the infrastructure of the langhook patch I've sent earlier.
It emits (if not strict dwarf) DW_AT_inline on explicit or implicit inline
variables, and also tweaks dwarf2out so that for inline static data members
we consider in-class declarations as definitions (emit DW_AT_linkage_name
and no DW_AT_declaration) for them.

Hmm, so there's no DW_TAG_variable for the inline static data member? That seems problematic to me. The DWARF 3 convention that static data members use DW_TAG_member seems rather misguided, since in fact they are variables. Why did that change?

Jason

Reply via email to