summaryrefslogtreecommitdiffstats
path: root/clang/docs/AddressSanitizer.html
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-01-15 15:26:07 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-01-15 15:26:07 +0000
commiteaa262b5b8b47a835aa200480b31fd80f719fe41 (patch)
tree60642282c73285ee7916569e07f4a76144bea377 /clang/docs/AddressSanitizer.html
parent339ced4e347ba1ee124afe762e1127a64bf4d64c (diff)
downloadbcm5719-llvm-eaa262b5b8b47a835aa200480b31fd80f719fe41.tar.gz
bcm5719-llvm-eaa262b5b8b47a835aa200480b31fd80f719fe41.zip
Fix ALL the markup.
llvm-svn: 148219
Diffstat (limited to 'clang/docs/AddressSanitizer.html')
-rw-r--r--clang/docs/AddressSanitizer.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/docs/AddressSanitizer.html b/clang/docs/AddressSanitizer.html
index 3b25f26feca..d72776319c3 100644
--- a/clang/docs/AddressSanitizer.html
+++ b/clang/docs/AddressSanitizer.html
@@ -45,7 +45,7 @@ Typical slowdown introduced by AddressSanitizer is <b>2x</b>.
<h2 id="howtobuild">How to build</h2>
Follow the <a href="../get_started.html">clang build instructions</a>.
-<h2 id="intro">Usage</h2>
+<h2 id="usage">Usage</h2>
Simply compile and link your program with <tt>-faddress-sanitizer</tt> flag. <BR>
To get a reasonable performance add <tt>-O1</tt> or higher. <BR>
To get nicer stack traces in error messages add
@@ -93,7 +93,7 @@ AddressSanitizer is enabled.
<a href="LanguageExtensions.html#__has_feature_extension">__has_feature</a>
can be used for this purpose.
<pre>
-#if defined(__has_feature) && __has_feature(address_sanitizer)
+#if defined(__has_feature) &amp;&amp; __has_feature(address_sanitizer)
code that runs only under AddressSanitizer
#else
code that does not run under AddressSanitizer
OpenPOWER on IntegriCloud