[PATCH] Unify clang/llvm attributes for asan/tsan/msan (Clang part)

Sean Silva silvas at purdue.edu
Fri Feb 22 07:49:41 PST 2013



================
Comment at: docs/LanguageExtensions.rst:1620
@@ +1619,3 @@
+Use ``__attribute__((no_sanitize_address))``
+(or a synonym ``__attribute__((no_address_safety_analysis))``)
+on a function declaration
----------------
I would remove mention of no_address_safety_analysis here so that we only mention it once in AddressSanitizer.rst (as being deprecated).

================
Comment at: docs/AddressSanitizer.rst:114
@@ -114,1 +113,3 @@
+:ref:`no_sanitize_address <langext-address_sanitizer>`
+(or a synonym `no_address_safety_analysis`)
 to disable instrumentation of a particular function. This attribute may not be
----------------
IMO we should deprecate this in favor of the new more-accurate attribute names. e.g. just say "deprecated synonym" instead of "synonym".


http://llvm-reviews.chandlerc.com/D449



More information about the cfe-commits mailing list