From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 69197 invoked by alias); 4 Dec 2017 21:34:31 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 69179 invoked by uid 89); 4 Dec 2017 21:34:31 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,FROM_LOCAL_NOVOWEL,HK_RANDOM_ENVFROM,HK_RANDOM_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy= X-HELO: mail-yw0-f194.google.com Received: from mail-yw0-f194.google.com (HELO mail-yw0-f194.google.com) (209.85.161.194) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 04 Dec 2017 21:34:29 +0000 Received: by mail-yw0-f194.google.com with SMTP id t204so7272164ywe.9 for ; Mon, 04 Dec 2017 13:34:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=A9uDR9epeO60Qt/VCAqNlZvt5A2Iqom1lKduejBgayQ=; b=YBI3QVmllgt5MbDLJl9YaK0lWfem38JjRhcUZS6aFYHVQ2SY9csitcmDx08ulqN7/I 5wwpVR599M2Rpip1jEKXQ4tduO8Qvxo7IUucp5eJGe8XCU1wNeRN3m+Ws9MBb7hcePdD Wn/OEfik8iyXA2VzHkwdeNEaykBq+Ttpi/vMbJNNJdy/SebDTkYgyE/5/qXvo0BjyqFL 4/3kV5dUC4eOc6TTk50oniFptZoFBnJV7lC96hnz+IwdwxokvGulUC6cVIg8GHB1D9PN Mxgal+g5/nfbOCU//QqWt29QHwmekGmQpMv4G0vmJCehiD1elF4mgm3Y7WgO6Pq8ptdX BwtA== X-Gm-Message-State: AJaThX4+12hLOHFwjOIVZnYEI/TG1VXpG5xnTYUAnhwh9L4cQy8Z4tQI plrmopQgAuyOoEDlUAB5JVlTu/BZPkzKV/Zo5aQ= X-Google-Smtp-Source: AGs4zMYVzzOoTu3Ju/7IeLCLRACiRI5R2mmNf2n8flIEfYpg2XaJEnD9KFC2SsrnW+jjdO+Dm9Ed89rFcq6e+E9vbRA= X-Received: by 10.129.153.87 with SMTP id q84mr11030214ywg.350.1512423268301; Mon, 04 Dec 2017 13:34:28 -0800 (PST) MIME-Version: 1.0 Received: by 10.37.163.195 with HTTP; Mon, 4 Dec 2017 13:34:27 -0800 (PST) In-Reply-To: <20171204213134.GO2353@tucnak> References: <1512422933-20575-1-git-send-email-jcmvbkbc@gmail.com> <20171204213134.GO2353@tucnak> From: Max Filippov Date: Mon, 04 Dec 2017 21:34:00 -0000 Message-ID: Subject: Re: [PATCH] gcc: xtensa: enable address sanitizer To: Jakub Jelinek Cc: "gcc-patches@gcc.gnu.org" , "linux-xtensa@linux-xtensa.org" , Sterling Augustine Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2017-12/txt/msg00171.txt.bz2 On Mon, Dec 4, 2017 at 1:31 PM, Jakub Jelinek wrote: > On Mon, Dec 04, 2017 at 01:28:53PM -0800, Max Filippov wrote: >> gcc/ >> 2017-12-04 Max Filippov >> >> * config/xtensa/xtensa.c (xtensa_asan_shadow_offset): New >> function. >> (TARGET_ASAN_SHADOW_OFFSET): New macro definition. >> * config/xtensa/xtensa.h (FRAME_GROWS_DOWNWARD): Set to 1 if >> ASAN is enabled. > > Is this just for -fsanitize=kernel-address ? Because I don't see any > libsanitizer/ changes (and those would need to go upstream first anyway). Yes, it's for the -fsanitize=kernel-address. I'll port libsanitizer later. -- Thanks. -- Max