Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp2777094ybh; Mon, 5 Aug 2019 06:40:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqyfiZXvAly7t5Sgj+QpYkupV38fovnFQISajwV9HH4VcnnuR+o+DV9DQbiI4gPWrwo0XUa9 X-Received: by 2002:a65:64c5:: with SMTP id t5mr63603609pgv.168.1565012455801; Mon, 05 Aug 2019 06:40:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565012455; cv=none; d=google.com; s=arc-20160816; b=ki0IM7REaQUOhPv2G5Q+QM7WPLeNp5kE+cax5SRTiFUqJsiO5cCsmJBlVU14IiMFHa +MWaUHcfVkXqIZpExGAi0h2GdZCGUTlhfOSRiK8OQUdp/YNv8l9aXvVL2miYAcIGuFBG ClQU+rziV5dKcdWDGMhIDUGngHDL3OIgR3+fwfd+V8MMt2plEcsuazPoQp30k9pV4DE1 QwNCXSjU+obOvJOzL6TQlN9csnbbRYPm5oHGBtLRf5D1lGxiLxNRe7k/BeyVdBeebWuE +ofH3IyQD7qSd+uHkDPCpBCkbfFKdy/nwnEhHeF5rfMbi2m01ky57XJqbQraI6BaWJj5 mBiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=ABDECe0/u4O4NXAthH/6bQ1kArfILIN2nbBikwgqI9U=; b=GnUyta//c+jYf750YgB8TXz5gu/jwNxAphNUk1/q5Dp96q0jfEnG2Tpja3u8kOkZfv /+UTKS3VoGl/GPu4mWOHOSBT6I/qOYylRmiyopiP41MczZND3NJn3HlUDam+rGlIHk1+ pmV+VDbPm07rcj2BYjU49o/HH01s2PhTbE0kcAnzv3uNQ/MHh82HNvL1nOVIiMLxFjzy FKIyTumNPKLmGlauakhBVxGBM9mAk2nR5kbzGGvd2lCJ0gRh7oU/1RJtCkzLjRoRZvA5 9WNBbenAjvQDdtcWwcJJTa3Nx9HQ5djzB5TjyIpzxWIzZdAI3qJsH9C9Mwx1Va/e7Qig h28A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v61si38786630plb.191.2019.08.05.06.40.40; Mon, 05 Aug 2019 06:40:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728958AbfHENj4 (ORCPT + 99 others); Mon, 5 Aug 2019 09:39:56 -0400 Received: from foss.arm.com ([217.140.110.172]:49382 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726508AbfHENj4 (ORCPT ); Mon, 5 Aug 2019 09:39:56 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E7872337; Mon, 5 Aug 2019 06:39:55 -0700 (PDT) Received: from arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E42FA3F706; Mon, 5 Aug 2019 06:39:54 -0700 (PDT) Date: Mon, 5 Aug 2019 14:39:48 +0100 From: Dave Martin To: Nathan Huckleberry Cc: Robin Murphy , clang-built-linux , Tri Vo , linux@armlinux.org.uk, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH] ARM: UNWINDER_FRAME_POINTER implementation for Clang Message-ID: <20190805133940.GA10425@arm.com> References: <20190801231046.105022-1-nhuck@google.com> <01222982-4206-9925-0482-639a79384451@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 02, 2019 at 10:27:30AM -0700, Nathan Huckleberry wrote: > You're right. Would pushing an extra register be an adequate fix? Would forcing CONFIG_ARM_UNWIND=y for clang work as an alternative to this? Assuming clang supports -funwind-tables or equivalent, this may just work. [...] Cheers ---Dave