From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 87BCB398AC30; Fri, 20 May 2022 01:54:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 87BCB398AC30 From: "simark at simark dot ca" To: gdb-prs@sourceware.org Subject: [Bug symtab/29105] new DWARF reader still slow Date: Fri, 20 May 2022 01:54:22 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: simark at simark dot ca X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: tromey at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2022 01:54:23 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29105 Simon Marchi changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |simark at simark dot ca --- Comment #5 from Simon Marchi --- I investigated the problem reported in my last message a little bit. What I saw was that the cooked index contains entries for base types, like "int".= =20 When doing "print sizeof(short)", it eventually looks up the "int" type, (s= ince short means "short int"), and all CUs match and get expanded, because they = all have an int type. Previously with partial symbols, I don't think we had entries for those. What is the problem here? - Do we want entries for base types in the index? - Should the type search algorithm expand all CUs that contain a matching t= ype? Couldn't it stop at the first CU that has a matching type? --=20 You are receiving this mail because: You are on the CC list for the bug.=