Home | History | Annotate | Download | only in docs
      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 turned on by default, but it is only supported on x86\_64
     21 Linux.
     22 
     23 The combined mode has been tested on fairly large software projects. The
     24 stand-alone mode has received much less testing.
     25 
     26 There are plans to support LeakSanitizer in :doc:`MemorySanitizer` builds.
     27 
     28 More Information
     29 ================
     30 
     31 `<https://github.com/google/sanitizers/wiki/AddressSanitizerLeakSanitizer>`_
     32