Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(276)

Unified Diff: Makefile

Issue 367623002: Add msan build option. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/standalone.gypi » ('j') | build/standalone.gypi » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Makefile
diff --git a/Makefile b/Makefile
index 3ac994a9df2d8fd1288a153ed421d5cf80340c81..bcb392246fff79630c1a8049b25c65ea270a45eb 100644
--- a/Makefile
+++ b/Makefile
@@ -145,7 +145,13 @@ ifneq ($(strip $(asan)),)
export LINK=$(asan)
export ASAN_SYMBOLIZER_PATH="$(dir $(asan))llvm-symbolizer"
endif
-
+# msan=/path/to/clang++
+ifneq ($(strip $(msan)),)
+ GYPFLAGS += -Dmsan=1 -Dmsan_track_origins=2
earthdok 2014/07/01 12:13:21 You set msan_track_origins here but you don't use
+ export CXX=$(msan)
+ export CXX_host=$(msan)
+ export LINK=$(msan)
+endif
# arm specific flags.
# arm_version=<number | "default">
ifneq ($(strip $(arm_version)),)
« no previous file with comments | « no previous file | build/standalone.gypi » ('j') | build/standalone.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698