From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#67005: 30.0.50; improve nadivce/comp/trampoline handling Date: Mon, 20 Nov 2023 08:13:17 -0500 Message-ID: References: <874jhv9921.fsf@sappc2.fritz.box> <875y24zrt1.fsf@sappc2.fritz.box> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20145"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Jens Schmidt , 67005@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 20 14:14:15 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1r546Q-0004zO-QI for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Nov 2023 14:14:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r546E-00040o-GS; Mon, 20 Nov 2023 08:14:02 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r546C-00040a-Ry for bug-gnu-emacs@gnu.org; Mon, 20 Nov 2023 08:14:00 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r546C-0006NV-J7 for bug-gnu-emacs@gnu.org; Mon, 20 Nov 2023 08:14:00 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r546E-00019g-JB for bug-gnu-emacs@gnu.org; Mon, 20 Nov 2023 08:14:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Nov 2023 13:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67005 X-GNU-PR-Package: emacs Original-Received: via spool by 67005-submit@debbugs.gnu.org id=B67005.17004860104375 (code B ref 67005); Mon, 20 Nov 2023 13:14:02 +0000 Original-Received: (at 67005) by debbugs.gnu.org; 20 Nov 2023 13:13:30 +0000 Original-Received: from localhost ([127.0.0.1]:52792 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r545h-00018U-QK for submit@debbugs.gnu.org; Mon, 20 Nov 2023 08:13:30 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:62022) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r545f-00018H-F7 for 67005@debbugs.gnu.org; Mon, 20 Nov 2023 08:13:28 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id C2FAB4408D7; Mon, 20 Nov 2023 08:13:19 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1700485998; bh=JEza17FVddgrqm99hegbH1N7uaP0eMRi+P1/4u08V50=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=mBDTiNI+gB0O53tDjVDiyyW0YuLGP3LO1lXf9VdoWk4y2DfllXCH7tpfBWgzFkmiM ySEXA8qgPXgZcg3s3gpJ+KBNsZwgqKYaPhrEZF1PjpqA+AgM5ffFw6yEigQvSF+BLL K98F463lcwsNCW57qZeBIsL6jrjAh7OkC0iBw9nwktRlaH5RYBf48qqMPPvZem1w57 waSv/H/BtcInrzeO+2L0dF4ynmsPnPxLhaq+smPiwTJQHgVHbzxmP8DqyVywTyQICX 6dYhd5KzXZfjnJmnBbiIGUTAjtpxCy9fpEg5CKEHSjRxoO+eZB68gVnEgEqT9/XPiB b8VVVBu/4oBtw== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 8C61E44061A; Mon, 20 Nov 2023 08:13:18 -0500 (EST) Original-Received: from pastel (unknown [45.72.227.120]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 6572C1202CE; Mon, 20 Nov 2023 08:13:18 -0500 (EST) In-Reply-To: (Andrea Corallo's message of "Mon, 20 Nov 2023 03:58:23 -0500") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:274663 Archived-At: > So IIUC what you a resuggesting would be to pass the symbol holding the > function that we're calling to a generic (per calling convetion) > trampoline? I'm not suggesting anything in particular, really. I was just pointing out that in order to fix the absence of the function from the backtrace, we'll need to push the function's symbol onto the backtrace, which means some piece of the code will now have access to this symbol. Depending on how it's done it might allow the trampoline to find this symbol without having to hardcode it into its code, thus making it possible to use a small set of precompiled trampolines. Stefan