From: Alexey Samsonov Date: Wed, 24 Oct 2012 13:21:51 +0000 (+0000) Subject: Fix some wordings in AddressSanitizer docs. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=adea51733c1825b183d0754596f943e854377afd;p=clang Fix some wordings in AddressSanitizer docs. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166557 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/AddressSanitizer.html b/docs/AddressSanitizer.html index 498719afbb..d60cdd9d35 100644 --- a/docs/AddressSanitizer.html +++ b/docs/AddressSanitizer.html @@ -45,7 +45,8 @@ The tool can detect the following types of bugs: Typical slowdown introduced by AddressSanitizer is 2x.

How to build

-Follow the clang build instructions.
+Follow the clang build instructions. +CMake build is supported.

Usage

Simply compile and link your program with -faddress-sanitizer flag.
@@ -58,7 +59,7 @@ To get a reasonable performance add -O1 or higher.
To get nicer stack traces in error messages add -fno-omit-frame-pointer.
To get perfect stack traces you may need to disable inlining (just use -O1) and tail call -elimination (-fno-optimize-sibling-calls). +elimination (-fno-optimize-sibling-calls).
 % cat example_UseAfterFree.cc
@@ -118,8 +119,8 @@ can be used for this purpose.
 

__attribute__((no_address_safety_analysis))

-Some code should not be instrumentated by AddressSanitizer. -One may use the function attribute +Some code should not be instrumented by AddressSanitizer. +One may use the function attribute no_address_safety_analysis to disable instrumentation of a particular function. @@ -139,8 +140,8 @@ Support for Linux ARM (and Android ARM) is in progress

Limitations