diff --git a/clang/docs/AddressSanitizer.html b/clang/docs/AddressSanitizer.html index eed1df6d4579..98ea934d965c 100644 --- a/clang/docs/AddressSanitizer.html +++ b/clang/docs/AddressSanitizer.html @@ -99,10 +99,10 @@ AddressSanitizer is enabled. __has_feature can be used for this purpose.
-#if defined(__has_feature) && __has_feature(address_sanitizer)
-  code that runs only under AddressSanitizer
-#else
-  code that does not run under AddressSanitizer
+#if defined(__has_feature)
+# if __has_feature(address_sanitizer)
+  code that builds only under AddressSanitizer
+# endif
 #endif
 
@@ -112,14 +112,16 @@ One may use the function attribute no_address_safety_analysis to disable instrumentation of a particular function. +This attribute may not be supported by other compilers, so we suggest to +use it together with __has_feature(address_sanitizer). Note: currently, this attribute will be lost if the function is inlined.

Supported Platforms

AddressSanitizer is supported on -Support for Linux i386/ARM and MacOS 10.7 is in progress +Support for Linux i386/ARM is in progress (it may work, but is not guaranteed too).