From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by sourceware.org (Postfix) with ESMTP id 78D113857C57 for ; Mon, 14 Sep 2020 10:39:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 78D113857C57 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-66-Jo963aFQOYmw26PUqCGLkw-1; Mon, 14 Sep 2020 06:39:26 -0400 X-MC-Unique: Jo963aFQOYmw26PUqCGLkw-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4CACF801F9A; Mon, 14 Sep 2020 10:39:25 +0000 (UTC) Received: from tucnak.zalov.cz (ovpn-113-252.ams2.redhat.com [10.36.113.252]) by smtp.corp.redhat.com (Postfix) with ESMTPS id ED39B7A414; Mon, 14 Sep 2020 10:39:24 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.15.2/8.15.2) with ESMTP id 08EAdM0Q031670; Mon, 14 Sep 2020 12:39:22 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.15.2/8.15.2/Submit) id 08EAdL5g031668; Mon, 14 Sep 2020 12:39:21 +0200 Date: Mon, 14 Sep 2020 12:39:21 +0200 From: Jakub Jelinek To: Mark Wielaard Cc: dwz@sourceware.org Subject: Re: [PATCH 4/4] Handle new DWARF5 operations as their GNU extension variants. Message-ID: <20200914103921.GA21814@tucnak> Reply-To: Jakub Jelinek References: <20200914102355.8137-1-mark@klomp.org> <20200914102355.8137-5-mark@klomp.org> MIME-Version: 1.0 In-Reply-To: <20200914102355.8137-5-mark@klomp.org> User-Agent: Mutt/1.11.3 (2019-02-01) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Mimecast-Spam-Score: 0.002 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: dwz@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Dwz mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Sep 2020 10:39:31 -0000 On Mon, Sep 14, 2020 at 12:23:55PM +0200, Mark Wielaard wrote: > This handles DW_OP_implicit_pointer, DW_OP_entry_value, > DW_OP_const_type, DW_OP_regval_type, DW_OP_deref_type, DW_OP_convert, > DW_OP_reinterpret as the DW_OP_GNU extensions for pre-DWARF5. > > This doesn't handle the new DW_OP_addrx and DW_OP_constx which are > used with split-dwarf .debug_addr tables. Nor does it implement > DW_OP_xderef_type which gcc will never emit. > > * dwz.c (read_exprloc): Handle DW_OP_implicit_pointer, > DW_OP_entry_value, DW_OP_convert, DW_OP_reinterpret, > DW_OP_regval_type, DW_OP_const_type and DW_OP_deref_type. > (read_exprloc_low_mem_phase1): Likewise. > (adjust_exprloc): Likewise. Ok. Jakub