From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 96447 invoked by alias); 29 Dec 2018 21:09:37 -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 96431 invoked by uid 89); 29 Dec 2018 21:09:36 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-11.2 required=5.0 tests=BAYES_00,GIT_PATCH_2,GIT_PATCH_3,SPF_SOFTFAIL autolearn=ham version=3.3.2 spammy=instruct, Martin, UD:changes.html, Hx-languages-length:1565 X-HELO: hamza.pair.com Received: from hamza.pair.com (HELO hamza.pair.com) (209.68.5.143) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 29 Dec 2018 21:09:35 +0000 Received: from hamza.pair.com (localhost [127.0.0.1]) by hamza.pair.com (Postfix) with ESMTP id B0C8933E08; Sat, 29 Dec 2018 16:09:33 -0500 (EST) Received: from anthias.lan (64.122.50.123.dsl.dyn.mana.pf [123.50.122.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by hamza.pair.com (Postfix) with ESMTPSA id 8E31A33E06; Sat, 29 Dec 2018 16:09:32 -0500 (EST) Date: Sat, 29 Dec 2018 23:41:00 -0000 From: Gerald Pfeifer To: Sandra Loosemore , =?ISO-8859-15?Q?Martin_Li=A8ka?= cc: gcc-patches@gcc.gnu.org Subject: Re: [wwwdocs] Add no_sanitize attribute In-Reply-To: <2710ab96-47a9-e58b-62d8-43649974edda@suse.cz> Message-ID: References: <1ad45e0c-b5a2-872d-089e-0a9e4c66b525@suse.cz> <2710ab96-47a9-e58b-62d8-43649974edda@suse.cz> MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="0-1965006057-1546117759=:15084" X-IsSubscribed: yes X-SW-Source: 2018-12/txt/msg01765.txt.bz2 --0-1965006057-1546117759=:15084 Content-Type: text/plain; CHARSET=ISO-8859-15 Content-Transfer-Encoding: 8BIT Content-length: 1577 On Sun, 7 Oct 2018, Sandra Loosemore wrote: > This is definitely an improvement. One more tweak I'd make is > > s/any of the options specified/the options provided as arguments to the > attribute/ Thank you, Sandra. I made that additional change. On Mon, 8 Oct 2018, Martin Li¨ka wrote: > Yes, it's equivalent, thanks for the improvement. Thanks for the reviews. I (finally) applied this per the patch below; sorry for the delay. Gerald Index: changes.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-8/changes.html,v retrieving revision 1.97 diff -u -r1.97 changes.html --- changes.html 30 Sep 2018 14:38:54 -0000 1.97 +++ changes.html 29 Dec 2018 21:08:04 -0000 @@ -251,11 +251,11 @@ tests for pointer wrapping.
  • - New no_sanitize attribute has been added. The attribute - on functions is used to inform the compiler that it should - not do sanitization of all options mentioned in sanitize option. - A list of values acceptable by -fsanitize option can be - provided. + A new attribute no_sanitize can be applied to functions + to instruct the compiler not to do sanitization of the options + provided as arguments to the attribute. Acceptable values for + no_sanitize match those acceptable by the + -fsanitize command-line option.
     void __attribute__ ((no_sanitize ("alignment", "object-size")))
     f () { /* Do something. */; }
    --0-1965006057-1546117759=:15084--