public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/44126]  New: wrong location description for DW_AT_vtable_elem_location
@ 2010-05-13 20:38 tromey at gcc dot gnu dot org
  2010-05-13 20:42 ` [Bug debug/44126] " jason at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: tromey at gcc dot gnu dot org @ 2010-05-13 20:38 UTC (permalink / raw)
  To: gcc-bugs

Consider this simple example:

class K {
public:
  virtual int x() { return 23; }
};

K k;  


This yields this attribute in the dwarf:

<7a>   DW_AT_vtable_elem_location: 2 byte block: 10 0       (DW_OP_constu: 0)

However, this is incorrect.
The location description ought to compute the address of the vtable slot.


-- 
           Summary: wrong location description for
                    DW_AT_vtable_elem_location
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tromey at gcc dot gnu dot org


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


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

end of thread, other threads:[~2023-04-03  2:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-13 20:38 [Bug debug/44126] New: wrong location description for DW_AT_vtable_elem_location tromey at gcc dot gnu dot org
2010-05-13 20:42 ` [Bug debug/44126] " jason at gcc dot gnu dot org
2010-05-13 21:49 ` jakub at gcc dot gnu dot org
2010-05-14  6:41 ` dodji at redhat dot com
2010-06-11 14:53 ` tromey at gcc dot gnu dot org
2010-06-11 15:07 ` tromey at gcc dot gnu dot org
2010-06-11 20:02 ` tromey at gcc dot gnu dot org
     [not found] <bug-44126-4@http.gcc.gnu.org/bugzilla/>
2023-04-03  2:03 ` tromey at gcc dot gnu.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).