summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorSergey Matveev <earthdok@google.com>2013-12-11 09:14:36 +0000
committerSergey Matveev <earthdok@google.com>2013-12-11 09:14:36 +0000
commitae5b1d4eacb1f79112333014f7e6529d3e04c789 (patch)
treecb2b73fb3941172cce1c2aa41a590b73c672cd8c /clang
parent7e468e0f681e895d7ae6f61f8b6772cadad2fc88 (diff)
downloadbcm5719-llvm-ae5b1d4eacb1f79112333014f7e6529d3e04c789.tar.gz
bcm5719-llvm-ae5b1d4eacb1f79112333014f7e6529d3e04c789.zip
Mention LeakSanitizer in AddressSanitizer docs.
llvm-svn: 197022
Diffstat (limited to 'clang')
-rw-r--r--clang/docs/AddressSanitizer.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/docs/AddressSanitizer.rst b/clang/docs/AddressSanitizer.rst
index 4d5944d372a..5bc6d0b88b4 100644
--- a/clang/docs/AddressSanitizer.rst
+++ b/clang/docs/AddressSanitizer.rst
@@ -16,6 +16,7 @@ following types of bugs:
* Use-after-free
* Use-after-return (to some extent)
* Double-free, invalid free
+* Memory leaks (experimental)
Typical slowdown introduced by AddressSanitizer is **2x**.
@@ -155,6 +156,12 @@ problems happening in certain source files or with certain global variables.
type:*BadInitClassSubstring*=init
src:bad/init/files/*=init
+Memory leak detection
+---------------------
+
+For the experimental memory leak detector in AddressSanitizer, see
+:doc:`LeakSanitizer`.
+
Supported Platforms
===================
OpenPOWER on IntegriCloud