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 [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 8E26B3858C5F for ; Fri, 10 Feb 2023 16:22:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8E26B3858C5F Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1676046153; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=XvhVufWQG9oo1MqUkvkJNKRnqOzsGUExY7gfcDZcSOo=; b=VYyVePtG8fD+EwM8Xm4F6oy28Z0NfpFPbpdH8OYH6UH0Q/0mN15oBXXNFAqE8tmXllYy0n /R9u98wZ8s+cpqDcbi30CfMQ5Djn0beZCtTpNDpvhzi96Gk8hOQFafLUYr2QIbhkoaKlhg +lJ+rmTdviL3GJz7pLR6Gk1EeF3vbto= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-664-u7oInRkIPvi--KVfUVga6Q-1; Fri, 10 Feb 2023 11:22:32 -0500 X-MC-Unique: u7oInRkIPvi--KVfUVga6Q-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B93BE3C025C6; Fri, 10 Feb 2023 16:22:31 +0000 (UTC) Received: from redhat.com (unknown [10.2.16.10]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A5955140EBF4; Fri, 10 Feb 2023 16:22:31 +0000 (UTC) Received: from fche by redhat.com with local (Exim 4.94.2) (envelope-from ) id 1pQWAQ-0002L7-TQ; Fri, 10 Feb 2023 11:22:30 -0500 Date: Fri, 10 Feb 2023 11:22:30 -0500 From: "Frank Ch. Eigler" To: Ilya Leoshkevich Cc: Mark Wielaard , elfutils-devel@sourceware.org Subject: Re: [PATCH v2 4/7] x86_64_return_value_location: Support lvalue and rvalue references Message-ID: <20230210162230.GC26807@redhat.com> References: <20230208195226.144143-1-iii@linux.ibm.com> <20230208195226.144143-5-iii@linux.ibm.com> <2c67601b72f61c1394e1248aaeecc8c403692dca.camel@klomp.org> <2292f8459429df853955d044b01d47e73f2e7d49.camel@linux.ibm.com> MIME-Version: 1.0 In-Reply-To: <2292f8459429df853955d044b01d47e73f2e7d49.camel@linux.ibm.com> User-Agent: Mutt/1.12.0 (2019-05-25) X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-8.0 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_H2,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi - > $ cat 1.cpp > int &foo() { throw; } > int &&bar() { throw; } > $ g++ -g 1.cpp -c > and then running > > $ LD_LIBRARY_PATH=../libelf:../libdw ./funcretval -e 1.o > > What would be a good way to integrate such a testcase? > Currently all tests are built with gcc, is it okay to add one > built with g++? [...] Sure. - FChE