]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - docs/LeakSanitizer.rst
Vendor import of clang RELEASE_360/final tag r230434 (effectively, 3.6.0 release):
[FreeBSD/FreeBSD.git] / docs / LeakSanitizer.rst
1 ================
2 LeakSanitizer
3 ================
4
5 .. contents::
6    :local:
7
8 Introduction
9 ============
10
11 LeakSanitizer is a run-time memory leak detector. It can be combined with
12 :doc:`AddressSanitizer` to get both memory error and leak detection.
13 LeakSanitizer does not introduce any additional slowdown when used in this mode.
14 The LeakSanitizer runtime can also be linked in separately to get leak detection
15 only, at a minimal performance cost.
16
17 Current status
18 ==============
19
20 LeakSanitizer is experimental and supported only on x86\_64 Linux.
21
22 The combined mode has been tested on fairly large software projects. The
23 stand-alone mode has received much less testing.
24
25 There are plans to support LeakSanitizer in :doc:`MemorySanitizer` builds.
26
27 More Information
28 ================
29
30 `https://code.google.com/p/address-sanitizer/wiki/LeakSanitizer
31 <https://code.google.com/p/address-sanitizer/wiki/LeakSanitizer>`_
32