public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug symtab/29106] New: new DWARF reader should de-duplicate functions
@ 2022-04-29 19:52 tromey at sourceware dot org
  2022-04-29 20:09 ` [Bug symtab/29106] " tromey at sourceware dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: tromey at sourceware dot org @ 2022-04-29 19:52 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=29106

            Bug ID: 29106
           Summary: new DWARF reader should de-duplicate functions
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: symtab
          Assignee: unassigned at sourceware dot org
          Reporter: tromey at sourceware dot org
  Target Milestone: ---

In https://sourceware.org/pipermail/gdb-patches/2022-April/188400.html,
Pedro pointed out that, even with the patch in that thread,
the new DWARF reader still generates a larger index:

In the old indexer, with an index of a gdb from before the indexer rewrite, we
had:

 [369902] intrusive_list<inferior, intrusive_base_node<inferior> >::begin:
          9 [global, function]
          255 [global, function]

while in the new indexer, for the same function, we have:

 [369902] intrusive_list<inferior, intrusive_base_node<inferior> >::begin:
         9 [global, function]
         79 [global, function]
         165 [global, function]
         167 [global, function]
[ ... many more instances ... ]

I suspect this is due to the old handling of DW_AT_inline.
See https://sourceware.org/pipermail/gdb-patches/2022-April/188557.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2022-10-18 18:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-29 19:52 [Bug symtab/29106] New: new DWARF reader should de-duplicate functions tromey at sourceware dot org
2022-04-29 20:09 ` [Bug symtab/29106] " tromey at sourceware dot org
2022-05-13 14:20 ` tromey at sourceware dot org
2022-07-13 16:49 ` tromey at sourceware dot org
2022-09-23 17:48 ` tromey at sourceware dot org
2022-09-23 19:38 ` tromey at sourceware dot org
2022-09-23 19:44 ` tromey at sourceware dot org
2022-09-23 20:45 ` tromey at sourceware dot org
2022-10-18 18:31 ` tromey at sourceware 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).