diff options
author | Kevin Lubick <kjlubick@google.com> | 2018-02-05 14:36:34 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-02-05 20:06:21 +0000 |
commit | f3ecb85fd40274dee3dec5d3cdd367bdd1472334 (patch) | |
tree | a9e772f5c1dae2f2e5526f53a0bf5b14ffc3adbc | |
parent | 52347e7d775645c91313eafa19e8db949d9c8feb (diff) |
Clarify XSAN instructions
No-Try: true
Docs-Preview: https://skia.org/?cl=103680
Bug: skia:
Change-Id: I941708d7a3eb1e5a2d11d129cfbef0cec5bd1256
Reviewed-on: https://skia-review.googlesource.com/103680
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
-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" |