diff --git a/clang/docs/LeakSanitizer.rst b/clang/docs/LeakSanitizer.rst --- a/clang/docs/LeakSanitizer.rst +++ b/clang/docs/LeakSanitizer.rst @@ -17,8 +17,8 @@ Usage ===== -LeakSanitizer is supported on x86\_64 Linux and macOS. In order to use it, -simply build your program with :doc:`AddressSanitizer`: +:doc:`AddressSanitizer`: integrates LeakSanitizer and enables it by default on +supported platforms. .. code-block:: console @@ -43,6 +43,15 @@ link step, so that it would link in proper LeakSanitizer run-time library into the final executable. +Supported Platforms +=================== + +* Android aarch64/i386/x86_64 +* Fuchsia +* Linux arm/aarch64/mips64/ppc64/ppc64le/riscv64/s390x/i386/x86\_64 +* macOS aarch64/i386/x86\_64 +* NetBSD i386/x86_64 + More Information ================