Reviewers: danno, Jakob,
Message:
PTAL
Description:
Enable debug builds with some optimizations turned on.
A new gyp variable 'v8_full_debug' can be set to 0 in order to turn on
optimization level 1 for debug builds. With the default (=1), it builds in
debug
mode like before.
The intention is to run some bots on the waterfall with this configuration.
Tests have a x5 speed-up like that.
Please review this at https://codereview.chromium.org/18516012/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M build/common.gypi
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index
dbb33a867bfb9abd6aaeb88a542aa69b168c082d..ce988235ca1e070d87d1af6767eae7cbf2e7f7e0
100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -490,6 +490,7 @@
'Debug': {
'variables': {
'v8_enable_extra_checks%': 1,
+ 'v8_full_debug%': 1,
},
'defines': [
'DEBUG',
@@ -526,6 +527,9 @@
# Support for backtrace_symbols.
'ldflags': [ '-rdynamic' ],
}],
+ ['v8_full_debug==0', {
+ 'cflags': [ '-O1' ],
+ }],
['OS=="android"', {
'variables': {
'android_full_debug%': 1,
--
--
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/groups/opt_out.