Revision: 19888
Author: [email protected]
Date: Thu Mar 13 10:36:55 2014 UTC
Log: Add ASAN option to stand-alone gyp config.
BUG=
[email protected], [email protected]
Review URL: https://codereview.chromium.org/196943004
http://code.google.com/p/v8/source/detail?r=19888
Modified:
/branches/bleeding_edge/build/standalone.gypi
=======================================
--- /branches/bleeding_edge/build/standalone.gypi Wed Feb 12 09:19:30 2014
UTC
+++ /branches/bleeding_edge/build/standalone.gypi Thu Mar 13 10:36:55 2014
UTC
@@ -34,6 +34,7 @@
'variables': {
'component%': 'static_library',
'clang%': 0,
+ 'asan%': 0,
'visibility%': 'hidden',
'v8_enable_backtrace%': 0,
'v8_enable_i18n_support%': 1,
@@ -169,6 +170,22 @@
],
},
'conditions': [
+ ['asan==1', {
+ 'target_defaults': {
+ 'cflags_cc+': [
+ '-fno-omit-frame-pointer',
+ '-gline-tables-only',
+ '-fsanitize=address',
+ '-w', # http://crbug.com/162783
+ ],
+ 'cflags_cc!': [
+ '-fomit-frame-pointer',
+ ],
+ 'ldflags': [
+ '-fsanitize=address',
+ ],
+ }
+ }],
['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \
or OS=="netbsd"', {
'target_defaults': {
--
--
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.