[RFA] Emit DWARF for template parameters (PR debug/30161)

Tom Tromey tromey@redhat.com
Thu Aug 13 20:17:00 GMT 2009


>>>>> "Dodji" == Dodji Seketeli <dodji@redhat.com> writes:

Dodji> The extension is documented at
Dodji> http://people.redhat.com/~dseketel/gcc/gcc-template-parameters-dwarf.txt .

Nice.

However, this should be hosted somewhere else, probably gcc.gnu.org.

Dodji> diff --git a/include/dwarf2.h b/include/dwarf2.h
Dodji> +    DW_TAG_GNU_template_template_param = 0x4106,
Dodji> +    DW_AT_GNU_name = 0x2108,

At the very least there should be a comment with the extension's URL in
it.

I didn't really read the patch; documenting dwarf extensions is just a
current hobby horse of mine.

Tom



More information about the Gcc-patches mailing list