From: Cary Coutant <ccoutant@gmail.com>
To: Alexandre Oliva <aoliva@redhat.com>
Cc: GCC Patches <gcc-patches@gcc.gnu.org>, Jason Merrill <jason@redhat.com>
Subject: Re: [PR63238] output alignment debug information
Date: Sun, 29 Jan 2017 18:55:00 -0000 [thread overview]
Message-ID: <CAJimCsFY3X9LTCO_zy4hENomkmESMWrpviv7PFMQpEkhZQR+eQ@mail.gmail.com> (raw)
In-Reply-To: <or37g5ggud.fsf@lxoliva.fsfla.org>
> for gcc/ChangeLog
>
> PR debug/63238
> * dwarf2out.c (clone_as_declaration): Drop DW_AT_alignment.
> (add_alignment_attribute): New.
> (base_type_die): Add alignment attribute.
> (subrange_type_die): Likewise.
> (modified_type_die): Likewise.
> (gen_array_type_die): Likewise.
> (gen_descr_array_type_die: Likewise.
> (gen_enumeration_type_die): Likewise.
> (gen_subprogram_die): Likewise.
> (gen_variable_die): Likewise.
> (gen_field_die): Likewise.
> (gen_ptr_to_mbr_type_die): Likewise.
> (gen_struct_or_union_type_die): Likewise.
> (gen_subroutine_type_die): Likewise.
> (gen_typedef_die): Likewise.
> (base_type_cmp): Compare alignment attribute.
This is OK so far, but the DW_AT_alignment attribute also needs to be
added to the checksum computation in die_checksum and
die_checksum_ordered.
-cary
next prev parent reply other threads:[~2017-01-29 18:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-27 4:48 Alexandre Oliva
2016-09-24 0:22 ` Alexandre Oliva
2016-10-19 10:15 ` Alexandre Oliva
2017-01-27 6:37 ` Alexandre Oliva
2017-01-29 18:55 ` Cary Coutant [this message]
2017-01-30 17:55 ` Alexandre Oliva
2017-03-17 3:13 ` Cary Coutant
2017-02-01 15:55 ` Jakub Jelinek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJimCsFY3X9LTCO_zy4hENomkmESMWrpviv7PFMQpEkhZQR+eQ@mail.gmail.com \
--to=ccoutant@gmail.com \
--cc=aoliva@redhat.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=jason@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).