public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/45124]  New: No DW_AT_accessibility for public DIEs in DW_TAG_class_type
@ 2010-07-29  8:32 jakub at gcc dot gnu dot org
  2010-07-29  8:55 ` [Bug debug/45124] " jakub at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-07-29  8:32 UTC (permalink / raw)
  To: gcc-bugs

Dwarf 3 and 4 state that if DW_AT_accessibility is missing, the default is
DW_ACCESS_private in DW_TAG_class_type and DW_ACCESS_public otherwise.
Unfortunately dwarf2out.c assumes the default is DW_ACCESS_public always.
Not sure if GDB (or other dwarf consumers) makes the same assumption.
If not, then we can add DW_ACCESS_public DW_AT_accessibility in
DW_TAG_class_type for everything that didn't have it till now and drop
DW_ACCESS_private accessibility, if yes, then I'm afraid all we can do for the
time being is just add DW_ACCESS_public accessibility and keep
DW_ACCESS_private accessibility too.


-- 
           Summary: No DW_AT_accessibility for public DIEs in
                    DW_TAG_class_type
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: wrong-debug
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jakub at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45124


^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <bug-45124-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2011-01-24 10:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-29  8:32 [Bug debug/45124] New: No DW_AT_accessibility for public DIEs in DW_TAG_class_type jakub at gcc dot gnu dot org
2010-07-29  8:55 ` [Bug debug/45124] " jakub at gcc dot gnu dot org
2010-07-29  8:58 ` jakub at gcc dot gnu dot org
2010-09-20 16:49 ` jakub at gcc dot gnu dot org
2010-09-20 16:51 ` jakub at gcc dot gnu dot org
     [not found] <bug-45124-4@http.gcc.gnu.org/bugzilla/>
2011-01-24 12:12 ` jan.kratochvil at redhat dot com

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).