[PATCH] dwarf.c handle new DWARFv5 C11, C++11 and C++14 DW_LANG constants.
Mark Wielaard
mjw@redhat.com
Thu Nov 27 15:15:00 GMT 2014
More information about the Binutils mailing list
Thu Nov 27 15:15:00 GMT 2014
- Previous message (by thread): [PATCH] dwarf.c handle new DWARFv5 C11, C++11 and C++14 DW_LANG constants.
- Next message (by thread): [PATCH] dwarf.c handle new DWARFv5 C11, C++11 and C++14 DW_LANG constants.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, 2014-11-27 at 16:09 +0100, Sebastian Huber wrote:
> On 26/11/14 17:24, Mark Wielaard wrote:
> > +++ b/binutils/dwarf.c
> > @@ -1935,6 +1935,9 @@ read_and_display_attr_value (unsigned long attribute,
> > case DW_LANG_Python: printf ("(Python)"); break;
> > /* DWARF 5 values. */
> > case DW_LANG_Go: printf ("(Go)"); break;
> > + case DW_LANG_C_plus_plus_11: printf ("(C++11)"); break;
> > + case DW_LANG_C11: printf ("(ANSI C11)"); break;
> > + case DW_LANG_C_plus_plus_14: printf ("(C++14)"); break;
> > /* MIPS extension. */
> > case DW_LANG_Mips_Assembler: printf ("(MIPS assembler)"); break;
> > /* UPC extension. */
>
> Out of curiosity why is this "ANSI C11" and not simply "C11" (like
> "C++11") or "ISO C11"?
No particular reason, except to be consistent with the existing naming
used. DW_LANG_C89 was already "ANSI C" and DW_LANG_C_plus_plus was
already "C++".
- Previous message (by thread): [PATCH] dwarf.c handle new DWARFv5 C11, C++11 and C++14 DW_LANG constants.
- Next message (by thread): [PATCH] dwarf.c handle new DWARFv5 C11, C++11 and C++14 DW_LANG constants.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list