[lsan][docs] Clarify supported platforms
authorFangrui Song <i@maskray.me>
Wed, 21 Apr 2021 17:27:55 +0000 (10:27 -0700)
committerFangrui Song <i@maskray.me>
Wed, 21 Apr 2021 17:27:55 +0000 (10:27 -0700)
Differential Revision: https://reviews.llvm.org/D100907

clang/docs/LeakSanitizer.rst

index 53a3ee1..6858f32 100644 (file)
@@ -17,8 +17,8 @@ detection phase.
 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 @@ To use LeakSanitizer in stand-alone mode, link your program with
 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 aarch64/x86_64
+* Linux arm/aarch64/mips64/ppc64/ppc64le/riscv64/s390x/i386/x86\_64
+* macOS aarch64/i386/x86\_64
+* NetBSD i386/x86_64
+
 More Information
 ================