[clang] 4cbe488 - [lsan][docs] Clarify supported platforms

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 21 10:28:01 PDT 2021


Author: Fangrui Song
Date: 2021-04-21T10:27:55-07:00
New Revision: 4cbe4881882edd64a7ff53da52970c4b6333de1c

URL: https://github.com/llvm/llvm-project/commit/4cbe4881882edd64a7ff53da52970c4b6333de1c
DIFF: https://github.com/llvm/llvm-project/commit/4cbe4881882edd64a7ff53da52970c4b6333de1c.diff

LOG: [lsan][docs] Clarify supported platforms

Differential Revision: https://reviews.llvm.org/D100907

Added: 
    

Modified: 
    clang/docs/LeakSanitizer.rst

Removed: 
    


################################################################################
diff  --git a/clang/docs/LeakSanitizer.rst b/clang/docs/LeakSanitizer.rst
index 53a3ee15055c8..6858f32957ebe 100644
--- a/clang/docs/LeakSanitizer.rst
+++ b/clang/docs/LeakSanitizer.rst
@@ -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
 ================
 


        


More information about the cfe-commits mailing list