From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 2ZywB5Q9tWqpPz0AWB0awg (envelope-from ) for ; Thu, 24 Sep 2026 11:11:16 -0400 Received: by simark.ca (Postfix, from userid 112) id 174151E06B; Thu, 24 Sep 2026 11:11:16 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.3 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [IPv6:2620:52:6:3111::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 720A61E01F for ; Thu, 24 Sep 2026 11:11:15 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9DD204B99F56 for ; Thu, 24 Sep 2026 15:11:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9DD204B99F56 Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id 901D74BA79A0 for ; Thu, 24 Sep 2026 15:10:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 901D74BA79A0 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=efficios.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=efficios.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 901D74BA79A0 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=158.69.221.121 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1790262650; cv=none; b=CEpto95T5XFaCrnnMhg7ecXh6LlR7AjCN3gsvfFo9Aqe9huo+2Mncdpg5Wd6F7Yu1yS5nIvHVuYQPVxYBhrwzDwL8uYwkY0iTkdrcRuZqw9Wik8JbifHiwVxrIIbPXau3mA1VYfyOMck9Q8fN4Dthwuhv8//5iKtp5ZZ2DDH0DY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1790262650; c=relaxed/simple; bh=PiEWa5YfjwCp8fX+9YpppOjnlooh8afG7HAGudMDIiU=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=lkQ0bfyyF/tGeqWVnrDuWDPLWniZYgmWml+pwMYkBYSLtYwldwRAlavpjahnSuw/95n3wD/ImiyLxehZqWdPF+zuRql4bk+4OXDDhLzmJ+FYw2rtfmsX3FRe/5qRsCFRIO3DHIFQngEsmxVuY4J+lYfW2PCp/FM3e+ya9D0NYcg= ARC-Authentication-Results: i=1; sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 901D74BA79A0 Received: by simark.ca (Postfix) id 9EBEF1E01F; Thu, 24 Sep 2026 11:10:49 -0400 (EDT) From: Simon Marchi To: gdb-patches@sourceware.org Cc: Simon Marchi Subject: [PATCH v6 0/3] gdb/dwarf: resolve class name via DW_AT_signature in cooked index Date: Thu, 24 Sep 2026 11:09:08 -0400 Message-ID: <20260924151048.204777-1-simon.marchi@efficios.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260924050002.1539783-1-simon.marchi@efficios.com> References: <20260924050002.1539783-1-simon.marchi@efficios.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 This is the series as I intend to push it later today. I tacked an additional patch on top to add a parent_is_deferred helper method, mirroring name_is_deferred added by patch 2. It is borderline obvious, but I would still appreciate a quick check to make sure I did not mess something up. Andrew Burgess (1): gdb/dwarf: resolve class name via DW_AT_signature in cooked index Simon Marchi (2): gdb/dwarf: split cooked index finalization into separate steps gdb/dwarf: add cooked_index_entry::parent_is_deferred gdb/dwarf2/abbrev.c | 1 + gdb/dwarf2/cooked-index-entry.c | 16 +- gdb/dwarf2/cooked-index-entry.h | 87 +++++++-- gdb/dwarf2/cooked-index-shard.c | 139 ++++++++++--- gdb/dwarf2/cooked-index-shard.h | 69 ++++++- gdb/dwarf2/cooked-index-worker.c | 9 + gdb/dwarf2/cooked-index-worker.h | 30 ++- gdb/dwarf2/cooked-index.c | 183 +++++++++++++++--- gdb/dwarf2/cooked-index.h | 64 +++++- gdb/dwarf2/cooked-indexer.c | 60 ++++-- gdb/dwarf2/cooked-indexer.h | 1 + gdb/dwarf2/index-write.c | 2 +- .../ada-forward-spec-deferred-grandparent.exp | 81 ++++++++ .../sig-type-unnamed-class-bad-sig.exp | 155 +++++++++++++++ .../gdb.dwarf2/sig-type-unnamed-class-dwo.exp | 143 ++++++++++++++ .../gdb.dwarf2/sig-type-unnamed-class.exp | 106 ++++++++++ 16 files changed, 1048 insertions(+), 98 deletions(-) create mode 100644 gdb/testsuite/gdb.dwarf2/ada-forward-spec-deferred-grandparent.exp create mode 100644 gdb/testsuite/gdb.dwarf2/sig-type-unnamed-class-bad-sig.exp create mode 100644 gdb/testsuite/gdb.dwarf2/sig-type-unnamed-class-dwo.exp create mode 100644 gdb/testsuite/gdb.dwarf2/sig-type-unnamed-class.exp base-commit: c52597d61e1fbd7c0f7d84c75ca52d6c7446f745 -- 2.55.0