From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14131 invoked by alias); 29 Sep 2014 21:20:43 -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 14111 invoked by uid 89); 29 Sep 2014 21:20:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-vc0-f174.google.com Received: from mail-vc0-f174.google.com (HELO mail-vc0-f174.google.com) (209.85.220.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 29 Sep 2014 21:20:41 +0000 Received: by mail-vc0-f174.google.com with SMTP id hy4so2119020vcb.5 for ; Mon, 29 Sep 2014 14:20:37 -0700 (PDT) X-Received: by 10.220.127.84 with SMTP id f20mr31848967vcs.3.1412025637226; Mon, 29 Sep 2014 14:20:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.105.232 with HTTP; Mon, 29 Sep 2014 14:20:17 -0700 (PDT) In-Reply-To: <20140929174357.GH17454@tucnak.redhat.com> References: <54095E23.6050900@samsung.com> <5416B3A2.4050200@samsung.com> <54299507.7090800@samsung.com> <20140929174357.GH17454@tucnak.redhat.com> From: Konstantin Serebryany Date: Mon, 29 Sep 2014 21:20:00 -0000 Message-ID: Subject: Re: [PATCHv3][PING] Enable -fsanitize-recover for KASan To: Jakub Jelinek , Alexey Samsonov Cc: Yury Gribov , GCC Patches , Dmitry Vyukov , Andrey Ryabinin , Konstantin Khlebnikov Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-09/txt/msg02584.txt.bz2 +Alexey Samsonov On Mon, Sep 29, 2014 at 10:43 AM, Jakub Jelinek wrote: > On Mon, Sep 29, 2014 at 09:21:11PM +0400, Yury Gribov wrote: >> >>This patch enables -fsanitize-recover for KASan by default. This causes >> >>KASan to continue execution after error in case of inline >> >>instrumentation. This feature is needed because >> >>- reports during early bootstrap won't even be printed >> >>- needed to run all tests w/o rebooting machine for every test >> >>- needed for interactive work on desktop >> >> This is the third version of patch which renames -fsanitize-recover to >> -fubsan-recover and introduces -fasan-recover (enabled by default for >> KASan). It also moves flag handling to finish_options per Jakub's request. > > As the -fsanitize-recover option comes from clang originally, I think > this needs coordination with them (whether clang will also rename the > option), and certainly keep -fsanitize-recover as a non-documented > compat option alias for -fubsan-recover. > So, can you please talk to the clang folks about it? > > Jakub