Commit 8a30bafe authored by Tom Finegan's avatar Tom Finegan

Add information about sanitizer support to README.md.

BUG=aomedia:736

Change-Id: I628b809caf98215ff2082eca3926247da555f9d3
parent d866114e
...@@ -109,6 +109,20 @@ In addition to the above it's important to note that the toolchain files ...@@ -109,6 +109,20 @@ In addition to the above it's important to note that the toolchain files
suffixed with gcc behave differently than the others. These toolchain files suffixed with gcc behave differently than the others. These toolchain files
attempt to obey the $CROSS environment variable. attempt to obey the $CROSS environment variable.
### Sanitizers
Sanitizer integration is built-in to the CMake build system. To enable a
sanitizer, add `-DSANITIZE=<type>` to the CMake command line. For example, to
enable address sanitizer:
~~~
$ cmake path/to/aom -DSANITIZE=address
$ make
~~~
Sanitizers available vary by platform, target, and compiler. Consult your
compiler documentation to determine which, if any, are available.
### Microsoft Visual Studio builds ### Microsoft Visual Studio builds
Building the AV1 codec library in Microsoft Visual Studio is supported. The Building the AV1 codec library in Microsoft Visual Studio is supported. The
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment