Revision: 24419
Author:   [email protected]
Date:     Mon Oct  6 15:21:37 2014 UTC
Log:      Make asan and lsan make flags work like on the bots.

BUG=
[email protected], [email protected]

Review URL: https://codereview.chromium.org/631763003
https://code.google.com/p/v8/source/detail?r=24419

Modified:
 /branches/bleeding_edge/Makefile

=======================================
--- /branches/bleeding_edge/Makefile    Wed Oct  1 08:34:25 2014 UTC
+++ /branches/bleeding_edge/Makefile    Mon Oct  6 15:21:37 2014 UTC
@@ -140,10 +140,15 @@
 # asan=/path/to/clang++
 ifneq ($(strip $(asan)),)
   GYPFLAGS += -Dasan=1
+  export CC=$(dir $(asan))clang
   export CXX=$(asan)
   export CXX_host=$(asan)
   export LINK=$(asan)
-  export ASAN_SYMBOLIZER_PATH="$(dir $(asan))llvm-symbolizer"
+  export ASAN_SYMBOLIZER_PATH=$(dir $(asan))llvm-symbolizer
+  TESTFLAGS += --asan
+  ifeq ($(lsan), on)
+    GYPFLAGS += -Dlsan=1
+  endif
 endif

 # arm specific flags.

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to