This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [wwwdocs] Add no_sanitize attribute


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.
   </li>
   <li>
-    New <code>no_sanitize</code> 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 <code>-fsanitize</code> option can be
-    provided.
+    A new attribute <code>no_sanitize</code> 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
+    <code>no_sanitize</code> match those acceptable by the
+    <code>-fsanitize</code> command-line option.
     <blockquote><pre class="blackbg">
 void __attribute__ ((no_sanitize ("alignment", "object-size")))
 f () { /* Do something. */; }</pre></blockquote>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]