r347633 - [docs] UBSan and ASan are supported on Windows
Reid Kleckner via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 26 19:55:15 PST 2018
Author: rnk
Date: Mon Nov 26 19:55:15 2018
New Revision: 347633
URL: http://llvm.org/viewvc/llvm-project?rev=347633&view=rev
Log:
[docs] UBSan and ASan are supported on Windows
Also fix a bullet list.
Fixes PR39775
Modified:
cfe/trunk/docs/AddressSanitizer.rst
cfe/trunk/docs/UndefinedBehaviorSanitizer.rst
Modified: cfe/trunk/docs/AddressSanitizer.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/AddressSanitizer.rst?rev=347633&r1=347632&r2=347633&view=diff
==============================================================================
--- cfe/trunk/docs/AddressSanitizer.rst (original)
+++ cfe/trunk/docs/AddressSanitizer.rst Mon Nov 26 19:55:15 2018
@@ -278,6 +278,7 @@ AddressSanitizer is supported on:
* Android ARM
* NetBSD i386/x86\_64
* FreeBSD i386/x86\_64 (tested on FreeBSD 11-current)
+* Windows 8.1+ (i386/x86\_64)
Ports to various other platforms are in progress.
@@ -288,6 +289,9 @@ AddressSanitizer is fully functional on
3.1. The test suite is integrated into CMake build and can be run with ``make
check-asan`` command.
+The Windows port is functional and is used by Chrome and Firefox, but it is not
+as well supported as the other ports.
+
More Information
================
Modified: cfe/trunk/docs/UndefinedBehaviorSanitizer.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/UndefinedBehaviorSanitizer.rst?rev=347633&r1=347632&r2=347633&view=diff
==============================================================================
--- cfe/trunk/docs/UndefinedBehaviorSanitizer.rst (original)
+++ cfe/trunk/docs/UndefinedBehaviorSanitizer.rst Mon Nov 26 19:55:15 2018
@@ -288,7 +288,7 @@ There are several limitations:
Supported Platforms
===================
-UndefinedBehaviorSanitizer is supported on the following OS:
+UndefinedBehaviorSanitizer is supported on the following operating systems:
* Android
* Linux
@@ -296,6 +296,11 @@ UndefinedBehaviorSanitizer is supported
* FreeBSD
* OpenBSD
* OS X 10.6 onwards
+* Windows
+
+The runtime library is relatively portable and platform independent. If the OS
+you need is not listed above, UndefinedBehaviorSanitizer may already work for
+it, or could be made to work with a minor porting effort.
Current Status
==============
@@ -318,6 +323,7 @@ Example
-------
For a file called ``/code/library/file.cpp``, here is what would be emitted:
+
* Default (No flag, or ``-fsanitize-undefined-strip-path-components=0``): ``/code/library/file.cpp``
* ``-fsanitize-undefined-strip-path-components=1``: ``code/library/file.cpp``
* ``-fsanitize-undefined-strip-path-components=2``: ``library/file.cpp``
More information about the cfe-commits
mailing list