Rewrite docs/LeakSanitizer.rst. Add it to index.

llvm-svn: 196957
This commit is contained in:
Sergey Matveev 2013-12-10 20:10:30 +00:00
parent d30ed41c13
commit 072db59483
2 changed files with 12 additions and 11 deletions

View File

@ -8,16 +8,21 @@ LeakSanitizer
Introduction Introduction
============ ============
LeakSanitizer is a heap leak detector which is designed to be used on top of LeakSanitizer is a run-time memory leak detector. It can be combined with
:doc:`AddressSanitizer` / :doc:`MemorySanitizer`, or as a standalone library. :doc:`AddressSanitizer` to get both memory error and leak detection.
LeakSanitizer is a run-time tool which doesn't require compiler LeakSanitizer does not introduce any additional slowdown when used in this mode.
instrumentation. The LeakSanitizer runtime can also be linked in separately to get leak detection
only, at a minimal performance cost.
Current status Current status
============== ==============
LeakSanitizer is a work in progress, currently under development for LeakSanitizer is experimental and supported only on x86\_64 Linux.
x86\_64 Linux.
The combined mode has been tested on fairly large software projects. The
stand-alone mode has received much less testing.
There are plans to support LeakSanitizer in :doc:`MemorySanitizer` builds.
More Information More Information
================ ================

View File

@ -23,15 +23,11 @@ Using Clang as a Compiler
ThreadSanitizer ThreadSanitizer
MemorySanitizer MemorySanitizer
DataFlowSanitizer DataFlowSanitizer
LeakSanitizer
SanitizerSpecialCaseList SanitizerSpecialCaseList
Modules Modules
FAQ FAQ
.. toctree::
:hidden:
LeakSanitizer
Using Clang as a Library Using Clang as a Library
======================== ========================