public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
[parent not found: <bug-23551-4@http.gcc.gnu.org/bugzilla/>]
* [Bug debug/23551] New: dwarf records for inlines appear incomplete
@ 2005-08-24 20:52 graydon at redhat dot com
  2005-08-24 20:52 ` [Bug debug/23551] " graydon at redhat dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 20+ messages in thread
From: graydon at redhat dot com @ 2005-08-24 20:52 UTC (permalink / raw)
  To: gcc-bugs

It appears that inlined_subroutine dwarf records are not always generated for
inlined functions, and when they are generated the formal_parameter records of
the inlined_subroutine do not always have location records.

I have prepared 6 files (2 per case) demonstrating 3 different minimal cases. In
each case, the .i file is the input and the .dump file is the result of running
eu-readelf --debug-dump a.out.

The three cases are:

 - formal-parameter-but-no-location: this has an inlined_subroutine record with 
   no location attribute on the formal_parameter. the missing attribute should
   appear around line 77 of the dump.

 - no-inlined-subroutine-record: this shows that inlined_subroutines
   are not always generated. the missing record should appear around 
   line 54 of the dump.

 - constant-formal-parameter-with-location.dump: this has a record in the form
   I would expect to see in the previous 2 cases: lines 65-77 of the dump show
   both the inlined_subroutine and formal_parameter with a location attribute.

Please let me know if you need more details.

-- 
           Summary: dwarf records for inlines appear incomplete
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: graydon at redhat dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i386-redhat-linux
  GCC host triplet: i386-redhat-linux
GCC target triplet: i386-redhat-linux


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


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2024-01-26 13:43 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-23551-8732@http.gcc.gnu.org/bugzilla/>
2005-10-13  2:47 ` [Bug debug/23551] dwarf records for inlines appear incomplete wilson at gcc dot gnu dot org
2006-07-21 16:57 ` drow at gcc dot gnu dot org
2006-11-01  6:37 ` aoliva at gcc dot gnu dot org
2006-12-09  5:43 ` pinskia at gcc dot gnu dot org
2007-03-30 18:21 ` fche at redhat dot com
2007-03-30 21:04 ` pinskia at gcc dot gnu dot org
2007-03-30 21:10 ` fche at redhat dot com
2007-05-10  7:40 ` patchapp at dberlin dot org
2007-07-06  8:39 ` aoliva at gcc dot gnu dot org
2007-07-09 19:24 ` aoliva at gcc dot gnu dot org
     [not found] <bug-23551-4@http.gcc.gnu.org/bugzilla/>
2011-04-21 14:08 ` mfortune at gmail dot com
2024-01-26 13:43 ` rguenth at gcc dot gnu.org
2005-08-24 20:52 [Bug debug/23551] New: " graydon at redhat dot com
2005-08-24 20:52 ` [Bug debug/23551] " graydon at redhat dot com
2005-08-24 20:53 ` graydon at redhat dot com
2005-08-24 20:54 ` graydon at redhat dot com
2005-08-24 20:55 ` graydon at redhat dot com
2005-08-24 20:55 ` graydon at redhat dot com
2005-08-24 20:59 ` graydon at redhat dot com
2005-08-24 21:09 ` graydon at redhat dot com
2005-08-24 21:58 ` pinskia at gcc dot gnu dot org

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