From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 1gsKAa3LZml0DQIAWB0awg (envelope-from ) for ; Tue, 13 Jan 2026 17:48:13 -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=HNi7+7xE; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id E9E191E0BA; Tue, 13 Jan 2026 17:48:12 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham 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 A38F11E08D for ; Tue, 13 Jan 2026 17:48:11 -0500 (EST) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id 2A9D24BA2E1E for ; Tue, 13 Jan 2026 22:48:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2A9D24BA2E1E 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=HNi7+7xE Received: from omta40.uswest2.a.cloudfilter.net (omta40.uswest2.a.cloudfilter.net [35.89.44.39]) by sourceware.org (Postfix) with ESMTPS id 7DB324BA2E04 for ; Tue, 13 Jan 2026 22:47:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7DB324BA2E04 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 7DB324BA2E04 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=35.89.44.39 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1768344448; cv=none; b=HVtMIzhBYdWqT8hmNxA5Rfqt7heSwRpTooYl1gQB25hcpZRUhnUA8EOtbWkOdKJzXcir+WfuPtR8mVNDevDKXGpJhayqR0OYJQcKzYhTfTHBVf/Zp28n8aovaIsElhoQvvOj9w5PVMUc31wTXjaElp6m9wXcd92+IMJtZscIMfw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1768344448; c=relaxed/simple; bh=upyBr1qwkLI+damABp2o4orEyvNvciWO0IYcHqrDGAE=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=uNwW3hNkW61yi7kzny6HmDBtdsE0cT9rv00WBz+8SNe8JdOUGQt+iWbKLqil86JM7CCpCV6UVYo0CDg5UBFMlqxqj9SQMacmx6oI488z5wZ1TRsQ20JNkxESkU7qloA7/1qPh0onG+vV/STU/qhMoEFduCfVfKOy+A1nBk/kKq0= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7DB324BA2E04 Received: from eig-obgw-5007b.ext.cloudfilter.net ([10.0.29.167]) by cmsmtp with ESMTPS id fkP0vOUqPaPqLfnAdvbonI; Tue, 13 Jan 2026 22:47:27 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id fnAcvgefxV6WMfnAcvWb3s; Tue, 13 Jan 2026 22:47:27 +0000 X-Authority-Analysis: v=2.4 cv=E//Npbdl c=1 sm=1 tr=0 ts=6966cb7f a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=IkcTkHD0fZMA:10 a=vUbySO9Y5rIA:10 a=ItBw4LHWJt0A:10 a=TDl5R864AAAA:8 a=S-QSLFHtZXhpIvtebroA:9 a=QEXdDO2ut3YA:10 a=4IKI_MBedZsHOhguCAbN:22 a=DCx65vhANUyCzuf5D8fC:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: Date:References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: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=upyBr1qwkLI+damABp2o4orEyvNvciWO0IYcHqrDGAE=; b=HNi7+7xEIFPuxwdVUwVlIxdHy/ w4fsSRTXP/03WUOlITf2q55eyn4XPrFYbweckpA/RCXlIFaFGl6/6wf3a71CSFIF88faaIs+Tnxi8 OoipjdpQCjwHKBgB07yrG8BEO; Received: from 75-166-246-134.hlrn.qwest.net ([75.166.246.134]:60296 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vfnAc-00000002JhJ-1QV6; Tue, 13 Jan 2026 15:47:26 -0700 From: Tom Tromey To: Jan =?utf-8?Q?Vran=C3=BD?= Cc: "tom@tromey.com" , "gdb-patches@sourceware.org" Subject: Re: [PATCH v2] gdb/jit: add function symbols to global block In-Reply-To: <79227e4c024aad95b42c70022093c917ace6f6dd.camel@labware.com> ("Jan =?utf-8?Q?Vran=C3=BD=22's?= message of "Tue, 13 Jan 2026 21:42:51 +0000") References: <20260106181539.154125-1-jan.vrany@labware.com> <87a4yhjxgj.fsf@tromey.com> <79227e4c024aad95b42c70022093c917ace6f6dd.camel@labware.com> X-Attribution: Tom Date: Tue, 13 Jan 2026 15:47:25 -0700 Message-ID: <87pl7dgmf6.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: 75.166.246.134 X-Source-L: No X-Exim-ID: 1vfnAc-00000002JhJ-1QV6 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 75-166-246-134.hlrn.qwest.net (bapiya) [75.166.246.134]:60296 X-Source-Auth: tom+tromey.com X-Email-Count: 2 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfMucRQQ9ugw/GR78LVNEPI2V1+xXU1TN7sQyaCaUf/NMOrf7VVzV0QnbQa+gXjz1NwmUx4LB1oPSVkwzr36FNU+H5bNCKrP2ONrqVh1Rrf/ZscIfDaZa I6yw2szBUB/rk4Rg9pf8rj8tePAAGwOW3fcJU65G3/CPv7WH7IZkWxP0NtcvwUnnb3L305iLf5T9JmA4Q7RZmxehsnvxtKU1rHA= 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 >>>>> "Jan" =3D=3D Jan Vran=C3=BD writes: >> If not then making a dictionary doesn't seem necessary? Jan> As the code stands now, I think it has to - the rest of code expects i= t is Jan> always there. For example, blockvector::~blockvector() just unconditio= nally Jan> frees the dictionary. Or blpy_repr() that calls mdict_size(). Gotcha, thanks for looking. Maybe at someday we should let mdict_free take a null pointer and then we could omit empty dictionaries for some blocks. Tom