From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 0X53Fi2Zi2kJLjQAWB0awg (envelope-from ) for ; Tue, 10 Feb 2026 15:46:37 -0500 Authentication-Results: simark.ca; dkim=fail reason="signature verification failed" (768-bit key; unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=M/yoiXvM; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 55EE91E0BA; Tue, 10 Feb 2026 15:46:37 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_BL_SPAMCOP_NET, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=no autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id B55371E08D for ; Tue, 10 Feb 2026 15:46:36 -0500 (EST) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id 3200B4BA23CC for ; Tue, 10 Feb 2026 20:46:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3200B4BA23CC Authentication-Results: sourceware.org; dkim=fail reason="signature verification failed" (768-bit key, unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=M/yoiXvM Received: from omta38.uswest2.a.cloudfilter.net (omta38.uswest2.a.cloudfilter.net [35.89.44.37]) by sourceware.org (Postfix) with ESMTPS id 05F894BA2E17 for ; Tue, 10 Feb 2026 20:46:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 05F894BA2E17 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 05F894BA2E17 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=35.89.44.37 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1770756369; cv=none; b=NzhNqjOn6ifPGW6c4HeD37954CQDTNcixbK85sKMXrw6dUReVF4tU/8RNkchJ69jNe6hDl0ilgptOEVUji8BcIKtFK6f4sUJ8bLMjykEOKF/p6UdnussC+KJLwlzpgavMU1f64xAxai9ZSqteAEwrRY53YTuzlNvABfHlZXzoHE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1770756369; c=relaxed/simple; bh=0RPb68RQT7V8lOTUOBS9aJaiok2+qH+tPn2MmGPF2jA=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=BcgerJjysRCneetf97NtDq/Cv0EnuvL8i/exeVf3D1ObAeiH8LTPwe+toLbnpOnVQBLN9XZvNx4tdYjpXoRKe74+jJoUMjTvcOHWw851CIO3ABV/B8vNG7ZWrP1l9Zg/L01DDZVJFjPJ4ke2Vq7Z9TsYLzAjR90krnavn7yr/vk= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 05F894BA2E17 Received: from eig-obgw-5001b.ext.cloudfilter.net ([10.0.29.181]) by cmsmtp with ESMTPS id ps1tvA5gRipkCpucavffxi; Tue, 10 Feb 2026 20:46:08 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id pucZviqeuSqlVpucZvmMYS; Tue, 10 Feb 2026 20:46:07 +0000 X-Authority-Analysis: v=2.4 cv=I7FlRMgg c=1 sm=1 tr=0 ts=698b990f a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=HzLeVaNsDn8A:10 a=ItBw4LHWJt0A:10 a=dzWzf_mpAAAA:8 a=n06W5V2Dzy_0xpT4uwIA:9 a=b4DR9a7p2ZdsqdHBznES:22 a=DCx65vhANUyCzuf5D8fC:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To :Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=96DhuhvXBA/7TTsZLVZOYo/TYcKca3bWlVBA4xSjeqY=; b=M/yoiXvMkgiKfhUbPGZVbGswP3 rkKmlJuy11HVIxv9JqV3dNvwXO9Px7wl9p9JvrBOL77YDKYhwwYbRmfbcG4yIhGl6xZE5tePmqAxz dOvUQgt+44504ytpyaMVI6XjI; Received: from 97-118-49-200.hlrn.qwest.net ([97.118.49.200]:54950 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vpucZ-00000002MmI-09Ns; Tue, 10 Feb 2026 13:46:07 -0700 From: Tom Tromey To: Simon Marchi Cc: Tom Tromey , gdb-patches@sourceware.org Subject: Re: [PATCH v2 8/8] Update .debug_names documentation In-Reply-To: <72ab46ea-9db9-4af7-9dc0-9165f2853013@simark.ca> (Simon Marchi's message of "Tue, 10 Feb 2026 15:25:31 -0500") References: <20260126-dw-inline-fixup-pr-symtab-30728-2-v2-0-8ab183d1911c@tromey.com> <20260126-dw-inline-fixup-pr-symtab-30728-2-v2-8-8ab183d1911c@tromey.com> <87zf5gvamk.fsf@tromey.com> <87ikc41im3.fsf@tromey.com> <72ab46ea-9db9-4af7-9dc0-9165f2853013@simark.ca> X-Attribution: Tom Date: Tue, 10 Feb 2026 13:46:05 -0700 Message-ID: <87a4xg1g4y.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 97.118.49.200 X-Source-L: No X-Exim-ID: 1vpucZ-00000002MmI-09Ns X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-118-49-200.hlrn.qwest.net (bapiya) [97.118.49.200]:54950 X-Source-Auth: tom+tromey.com X-Email-Count: 4 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfNpMcHmBaHivSO7p7qXwtk3ZQ3Z7DnGCiAdGBDR3uKrYLfuBI3Xi/yFcVOH4aopLoR5Bvd7//ior/c5nB/s9EG1NbDLLXRR5N6Ui8qqU1MG1OL63PGJN bf9oo9Acbc6lFgvolGz5AKoFMidbQpemxwVsVBboL9LCd/rPvJ9u+aWkpnyhp8TX5OKZIVeH1GyFVheXVNnSkOBAhTiQ5OTapi4= X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org >>>>> "Simon" == Simon Marchi writes: >> Since the reader pre-loads all the DIEs I am thinking it probably won't >> be super expensive to also iterate over them. Or alternatively we could >> have the DIE-loading process notice all the spots where an inlined >> function is seen. Simon> I was actually wondering if we could avoid pre-loading all the Simon> DIEs from the start. This is the approach the cooked indexer takes, so I looked at it for the full reader. However the full reader has a few things that make it harder. I was mostly looking at this in the context of lazy loading... and there are even more things that make fully lazy loading hard, like the "abstract_to_concrete" map and the way that rust_union_quirks currently works. Anyway, probably the main issue with lazy DIE loading is that there's code in the full reader that uses die_info::parent. This by itself isn't so bad but it wouldn't work if it's combined with random-access DIE lookups. Some of these uses are due to the weird/bad way the full reader computes names. Though IIRC there are some uses that are harder to get rid of. Tom