From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4FD25C433FF for ; Mon, 5 Aug 2019 13:40:09 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2301B2067D for ; Mon, 5 Aug 2019 13:40:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="kLY79rrB" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2301B2067D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=bKZLrtF+5ODS/2D8hPY/3ndbFXaWBYlbxa6JktQhhXE=; b=kLY79rrBWKuBlm 9B2fuldEEbOt6bKmDWnLqdWXPENtmynKW9buULkDSAMet4OH4rlBg1J3sRV3HYGCVrHNTgW8LJ5zi IzP9me6JnoiK2azo8NM9hK5mU533DyMK58z/vIqCPrfLn3tKa2ZUaOYB5WM8FvGUA3aRhdbra8kVb 17e5KbwpQc1aLIU7sD0hc4e1MVQaEDGQ3Ejskhxyn+sgq2gOHAaVHqI3xri2ow9gzbKLkw3gVjUr2 X8hwUPhi5saQhIB6MRSxgmhViv+qN/zyavGX3zTe0FhVLyrAXGBfGFH/B32N1YxmP2BzVdWEBG0i3 JYt0ORYABmzlkYW+b2Lg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hudDW-0007Wo-By; Mon, 05 Aug 2019 13:40:02 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hudDS-0007W7-BS for linux-arm-kernel@lists.infradead.org; Mon, 05 Aug 2019 13:39:59 +0000 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 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-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190805_063958_447644_6BAD829C X-CRM114-Status: UNSURE ( 7.93 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tri Vo , linux@armlinux.org.uk, linux-kernel@vger.kernel.org, clang-built-linux , Robin Murphy , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 60082C0650F for ; Mon, 5 Aug 2019 13:39:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3D8BA2067D for ; Mon, 5 Aug 2019 13:39:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729338AbfHENj4 (ORCPT ); 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