aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/dev
diff options
context:
space:
mode:
authorGravatar Yuqian Li <liyuqian@google.com>2017-10-17 15:32:52 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-10-18 18:19:05 +0000
commita0dc0143f89bf924d0558319dc14b96d73a65c73 (patch)
tree5652bad3f5d2e00e6f0798b80141c150654749bf /site/dev
parent021e5c70160c9682e8d8ab6e2c36a3cb3f57604a (diff)
Update MSAN gn args to match our bots
The previous gn args would result in linking errors. No-Try: true Docs-Preview: https://skia.org/?cl=60761 Bug: skia: Change-Id: Ia9e1472080484d29dfbc2f86728f10721c05856c Reviewed-on: https://skia-review.googlesource.com/60761 Commit-Queue: Yuqian Li <liyuqian@google.com> Reviewed-by: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'site/dev')
-rw-r--r--site/dev/testing/xsan.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/site/dev/testing/xsan.md b/site/dev/testing/xsan.md
index 8b71a138e6..64e0cb92a9 100644
--- a/site/dev/testing/xsan.md
+++ b/site/dev/testing/xsan.md
@@ -25,7 +25,8 @@ Configure and Compile Skia with MSAN
cat > out/msan/args.gn <<- EOF
cc = "${CLANGDIR}/bin/clang"
cxx = "${CLANGDIR}/bin/clang++"
- extra_ldflags = [ "-Wl,-rpath", "-Wl,${CLANGDIR}/msan" ]
+ extra_cflags = [ "-B${CLANGDIR}/bin" ]
+ extra_ldflags = [ "-B${CLANGDIR}/bin", "-fuse-ld=lld", "-L${CLANGDIR}/msan" ]
sanitize = "MSAN"
skia_use_fontconfig = false
EOF
@@ -33,6 +34,11 @@ Configure and Compile Skia with MSAN
bin/gn gen out/msan
ninja -C out/msan
+You may also need to install the following packages to run the MSAN binary
+
+ sudo apt-get install libc++dev libc++abi-dev
+
+
Configure and Compile Skia with ASAN
------------------------------------