diff options
-rw-r--r-- | site/dev/testing/xsan.md | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/site/dev/testing/xsan.md b/site/dev/testing/xsan.md index 105b0b166c..4bb1be95da 100644 --- a/site/dev/testing/xsan.md +++ b/site/dev/testing/xsan.md @@ -3,13 +3,24 @@ MSAN, ASAN, & TSAN *Testing Skia with memory, address, and thread santizers.* -Downloading Clang Binaries (Googlers Only) +Compiling Skia with ASAN, UBSAN, or TSAN can be done with the latest version of Clang. + +- UBSAN works on Linux, Mac, Android, and Windows, though some checks are platform-specific. +- ASAN works on Linux, Mac, Android. +- TSAN works on Linux and Mac. +- MSAN works on Linux[1]. + +[1]To compile and run with MSAN, an MSAN-instrumented version of libc++ is needed. +It's generally easiest to run one of the following 2 steps to build/download a recent version +of Clang and the instrumented libc++. + +Downloading Clang binaries (Googlers Only) ------------------------------------------ CLANGDIR="${HOME}/clang" python infra/bots/assets/clang_linux/download.py -t $CLANGDIR -Building Clang from scratch +Building Clang binaries from scratch (Other users) --------------------------- CLANGDIR="${HOME}/clang" |