From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CB8F63858C31; Fri, 16 Feb 2024 02:32:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CB8F63858C31 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1708050756; bh=RRoSCExK7iiAg9Zo6Vsn3jaqGJBOQeTJ1u6el9GlhhY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=emwXty0OoasN5wBL1bZew+j1lbMPeVeLwJjYH8AhbpnTEM2Tu4cwbfJYtraLl4nQQ FBWkKdSugEV5MoJkKGaarAjdudXRwuHm8vYlSrVV24BbwdSW8eU290gGNZer7KjSqk jJ6wvFxqeR1uYysB5pFpFH87i7QJ6TFYsrFjBGxk= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug symtab/31295] Slow symbol lookup due to missing DW_AT_const_value attribute Date: Fri, 16 Feb 2024 02:32:35 +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: 14.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- 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=3D31295 --- Comment #14 from Tom Tromey --- We probably can't totally eliminate full symbols for declarations, due to C code like void f() { int g; { extern int g; ... use g Here the inner 'g' is in scope but will be a decl. --=20 You are receiving this mail because: You are on the CC list for the bug.=