From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A692E3858419; Fri, 4 Nov 2022 20:05:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A692E3858419 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1667592345; bh=jyBVBLUdwS9DXTBMaLihUGhDRlloL7n/y/6V82oGNQE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=YT1JjCVcmuuWQ/lB6GlU2i72q+M3X4VCqbdw12lLhrXg63zqcSZ3jtSIuFhoIKiuK jqgmWxTravZjiwvQfjGuh6INjeTxgQS/J5/8uKxPWfC4HMkyTk1vwuES2lFYem6bVn KbF8H0Lwxe2hzBeQBVtfqvds1evkm+WUtbDYbEzU= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug symtab/29105] new DWARF reader still slow Date: Fri, 04 Nov 2022 20:05:43 +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: tromey at sourceware dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: tromey at sourceware dot org X-Bugzilla-Target-Milestone: 13.1 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29105 --- Comment #16 from Tom Tromey --- Name canonicalization for C seems to work fine. I applied a patch to disable the gdb-index (Fedora debuginfo ships with this) and then I tried the "sizeof" test with DWARF debugging enabled, and "print sizeof(short)" doesn't expand anything. Only the symbol readers have to be updated to canonicalize for C, not lookup, because the C parser arranges to only look up the canonical names anyway. (Well, lookup_signed_typename did need a small tweak.) I am not sure how to write a test for this. --=20 You are receiving this mail because: You are on the CC list for the bug.=