blob: b1071efd1aa2fec3f39b474a15db0f868a0809e8 [file] [log] [blame]
Sergey Matveev4a25a622013-05-14 15:48:54 +00001================
2LeakSanitizer
3================
4
5.. contents::
6 :local:
7
8Introduction
9============
10
Sergey Matveevf6578462013-12-10 20:13:58 +000011LeakSanitizer is a run-time memory leak detector. It can be combined with
12:doc:`AddressSanitizer` to get both memory error and leak detection.
13LeakSanitizer does not introduce any additional slowdown when used in this mode.
14The LeakSanitizer runtime can also be linked in separately to get leak detection
15only, at a minimal performance cost.
Sergey Matveev4a25a622013-05-14 15:48:54 +000016
17Current status
18==============
19
Sergey Matveevf6578462013-12-10 20:13:58 +000020LeakSanitizer is experimental and supported only on x86\_64 Linux.
21
22The combined mode has been tested on fairly large software projects. The
23stand-alone mode has received much less testing.
24
25There are plans to support LeakSanitizer in :doc:`MemorySanitizer` builds.
Sergey Matveev4a25a622013-05-14 15:48:54 +000026
27More Information
28================
29
Sergey Matveeved14aa72013-11-30 22:08:15 +000030`https://code.google.com/p/address-sanitizer/wiki/LeakSanitizer
31<https://code.google.com/p/address-sanitizer/wiki/LeakSanitizer>`_
Sergey Matveev4a25a622013-05-14 15:48:54 +000032