Index: site/user/special/msan.md |
diff --git a/site/user/special/msan.md b/site/user/special/msan.md |
new file mode 100644 |
index 0000000000000000000000000000000000000000..00988f9851c5ff54e7938f2ac374d3a7ff8dc8ba |
--- /dev/null |
+++ b/site/user/special/msan.md |
@@ -0,0 +1,23 @@ |
+Running with Memory Sanitizer |
scroggo
2016/04/20 14:39:10
I'm not very familiar with markdown, so the format
hal.canary
2016/04/20 14:45:43
The msan build builds Clang from scratch, so you n
scroggo
2016/04/20 15:02:19
It looks like you're recommending
- four spaces be
|
+============================= |
+ |
+Prerequisites |
+------------- |
+ |
+The msan build builds Clang from scratch, so you need to download Clang first: |
+ |
+Add the following to your gclient file: |
+target_os = ['llvm'] |
+ |
+Then run: |
+$ gclient sync |
hal.canary
2016/04/20 14:48:11
Run it this way instead:
bin/sync-and-gyp --d
scroggo
2016/04/20 15:02:19
Done.
|
+ |
+Build |
+----- |
+ |
+$ ./tools/xsan_build memory dm |
+ |
+Run |
+--- |
+ |
+$ out/Debug/dm -v --match ~Codec ~BlurLargeImage ~FontMgrAndroidParser |