aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/dev/testing/xsan.md
diff options
context:
space:
mode:
Diffstat (limited to 'site/dev/testing/xsan.md')
-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
------------------------------------