From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gateway21.websitewelcome.com (gateway21.websitewelcome.com [192.185.45.91]) by sourceware.org (Postfix) with ESMTPS id 8CB213861012 for ; Wed, 2 Sep 2020 17:49:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 8CB213861012 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=tom@tromey.com Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway21.websitewelcome.com (Postfix) with ESMTP id DF681400CBFBD for ; Wed, 2 Sep 2020 12:49:57 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id DWtRkhAkMBD8bDWtRk3dW2; Wed, 02 Sep 2020 12:49:57 -0500 X-Authority-Reason: nr=8 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:In-Reply-To:Date: References: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=KU6m9YYt3GlqgQ59kZfBXWt4H1Mn7Bm3P6kjSwJzjUE=; b=CKfGszVrX3/VjS6qX91XhcOcHd vs45720/nCryig8nwZgITs3oqjoXh/RuaUGlMw5zRwhbQxYoppeUhgV1MxCcw8WPaViM5bRbUnfqC LF+1bg4Y98gEMWUHI886pO/mm; Received: from 97-118-98-94.hlrn.qwest.net ([97.118.98.94]:52514 helo=murgatroyd) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1kDWtR-001h4X-Jz; Wed, 02 Sep 2020 11:49:57 -0600 From: Tom Tromey To: Andrew Stubbs Cc: "gcc-patches@gcc.gnu.org" Subject: Re: [PATCH] dwarf: Multi-register CFI address support References: <363f6c4b-4c7f-9244-9bf1-dee7e7a42f8c@codesourcery.com> X-Attribution: Tom Date: Wed, 02 Sep 2020 11:49:56 -0600 In-Reply-To: <363f6c4b-4c7f-9244-9bf1-dee7e7a42f8c@codesourcery.com> (Andrew Stubbs's message of "Fri, 28 Aug 2020 13:04:51 +0100") Message-ID: <87v9gwukzf.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) 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 - gcc.gnu.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.98.94 X-Source-L: No X-Exim-ID: 1kDWtR-001h4X-Jz X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-118-98-94.hlrn.qwest.net (murgatroyd) [97.118.98.94]:52514 X-Source-Auth: tom+tromey.com X-Email-Count: 2 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-Spam-Status: No, score=-3028.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, JMQ_SPF_NEUTRAL, RCVD_IN_ABUSEAT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_NEUTRAL, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2020 17:50:00 -0000 >>>>> "Andrew" == Andrew Stubbs writes: Andrew> To be fair, the DWARF standard makes a similar assumption; the Andrew> engineers working on LLVM and GDB, at AMD, have therefore invented Andrew> some new DWARF operators that they plan to propose for a future Andrew> standard. Only one is relevant here, however: Andrew> DW_OP_LLVM_piece_end. (Unfortunately this clashes with an AArch64 Andrew> extension, but I think we can cope using an alias -- only GCC dumps Andrew> will be confusing.) Andrew> +/* AMD GCN extensions (originally for LLVM). */ Andrew> +// This clashes with DW_OP_AARCH64_operation, so use an alias instead Andrew> +// DW_OP (DW_OP_LLVM_piece_end, 0xea) Andrew> +#define DW_OP_LLVM_piece_end DW_OP_AARCH64_operation Andrew> DW_END_OP Is it too late to pick a non-clashing value? Also, we have tried pretty hard in recent years to document all of gcc's DWARF extensions. Please add a link to the documentation for this one. If there aren't docs -- I guess it would be ideal if you could write them. Putting them on the GCC wiki is fine. Tom