[PATCH] DWARFv5 Emit DW_TAG_atomic_type.
Mark Wielaard
mjw@redhat.com
Mon Jun 23 17:12:00 GMT 2014
On Mon, 2014-06-23 at 10:31 -0600, Tom Tromey wrote:
> >>>>> "Mark" == Mark Wielaard <mjw@redhat.com> writes:
>
> Mark> The following is just a prototype to try out a new qualifier type tag
> Mark> proposed for DWARFv5. There is not even a draft yet of DWARFv5, so this
> Mark> is just based on a proposal that might or might not be adopted and/or
> Mark> changed http://dwarfstd.org/ShowIssue.php?issue=131112.1
>
> Mark> gcc/ChangeLog
>
> Mark> * dwarf2out.h (enum dw_mod_flag): Add dw_mod_atomic.
> Mark> * dwarf2out.c (dw_mod_decl_flags): Handle TYPE_ATOMIC.
> Mark> (dw_mod_type_flags): Likewise.
> Mark> (dw_mods_to_quals): Likewise.
> Mark> (dw_mod_qualified_type): Likewise.
> Mark> (modified_type_die): Likewise.
> Mark> opts.c (common_handle_option): Accept -gdwarf-5.
>
> The ChangeLog should mention PR debug/60782 -- I saw you did this in the
> "restrict" patch so you probably just weren't aware of this one...
Thanks, I wasn't aware there was already a bug for this. I have added
myself to the CC, added a comment to the bug pointing at the prototype
patch and added the PR reference to the ChangeLog entry and commit
message.
Cheers,
Mark
More information about the Gcc-patches
mailing list