svetozar.janjic
2bf2d4d9b6
MIPS: Silence warnings and unbreak optdebug build for target.
...
This is a temporary workaround for bogus array-bounds warning, due to bug in MIPS toolchain versions 4.8.2 and 4.9.2.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56273
TEST=
BUG=
Review URL: https://codereview.chromium.org/928533002
Cr-Commit-Position: refs/heads/master@{#26756}
2015-02-19 18:25:52 +00:00
Michael Achenbach
59c55842b8
Revert "Whitespace CL to test poller."
...
This reverts commit f27de256c1
.
Cr-Commit-Position: refs/heads/master@{#26552}
2015-02-10 17:01:14 +00:00
Michael Achenbach
f27de256c1
Whitespace CL to test poller.
...
Cr-Commit-Position: refs/heads/master@{#26548}
2015-02-10 16:03:58 +00:00
bmeurer
e06dc0569a
[linux] Improve link time with Chromium-bundled binutils.
...
Also enabled concurrent linking with gold on Linux.
Mostly copy and paste from Chromium with customization for
V8 where necessary.
BUG=v8:3880
LOG=n
Review URL: https://codereview.chromium.org/896703003
Cr-Commit-Position: refs/heads/master@{#26536}
2015-02-10 07:27:13 +00:00
michael_dawson
f1ba8d8f86
Contribution of PowerPC port (continuation of 422063005) - AIX Common1
...
Contribution of PowerPC port (continuation of 422063005 and 817143002). This patch covers
the key changes needed to the common files needed to support AIX. Subsequent
patches will cover:
- changes to update the ppc directories so they are current with the changes
in the rest of the project.
- remaining AIX changes not resolved by 4.8 compiler
- individual optimizations for PPC
This is based off of the GitHub repository
https://github.com/andrewlow/v8ppc
R=danno@chromium.org , svenpanne@chromium.org
BUG=
Review URL: https://codereview.chromium.org/866843003
Cr-Commit-Position: refs/heads/master@{#26343}
2015-01-30 08:02:08 +00:00
machenbach
5577dbdcf1
Remove version generation approach.
...
Revert "Partially reland Auto-generate v8 version based on tags."
This reverts commit 0707afc863
.
Revert "Ensure tags are fetched when generating the V8 version."
This reverts commit ea6831e9de
.
Revert "Restrict tag-update for version generation to cached git repos."
This reverts commit c6641e138b
.
BUG=chromium:446166
LOG=n
Review URL: https://codereview.chromium.org/866263005
Cr-Commit-Position: refs/heads/master@{#26244}
2015-01-23 10:45:39 +00:00
machenbach
9ae1c2382a
Make version generation robust to other user-defined tags.
...
BUG=chromium:446166
LOG=n
Review URL: https://codereview.chromium.org/865153003
Cr-Commit-Position: refs/heads/master@{#26224}
2015-01-22 15:06:57 +00:00
bmeurer
8d30c452bb
Try to fix AOSP builder.
...
NOTREECHECKS=true
Review URL: https://codereview.chromium.org/862363002
Cr-Commit-Position: refs/heads/master@{#26215}
2015-01-22 09:30:27 +00:00
bmeurer
2620f7604a
Fix ninja build with clang=1.
...
Review URL: https://codereview.chromium.org/862313002
Cr-Commit-Position: refs/heads/master@{#26211}
2015-01-22 07:21:52 +00:00
machenbach
4cc852685f
Reland Make clang the default on linux.
...
TBR=jochen@chromium.org ,jkummerow@chromium.org
NOTREECHECKS=true
NOTRY=true
Review URL: https://codereview.chromium.org/862173002
Cr-Commit-Position: refs/heads/master@{#26206}
2015-01-21 22:25:05 +00:00
machenbach
b0ea0810c6
Revert of Reland Make clang the default on linux. (patchset #3 id:40001 of https://codereview.chromium.org/861223002/ )
...
Reason for revert:
Still missing these builders:
http://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20arm%20-%20sim
http://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20arm%20-%20sim%20-%20debug
http://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20full%20debug
Original issue's description:
> Reland Make clang the default on linux.
>
> BUG=
>
> Committed: https://crrev.com/72ef6843b0aff68e519a8f26e7d2f7dd87b4712c
> Cr-Commit-Position: refs/heads/master@{#26204}
TBR=jochen@chromium.org ,jkummerow@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=
Review URL: https://codereview.chromium.org/864093004
Cr-Commit-Position: refs/heads/master@{#26205}
2015-01-21 20:38:32 +00:00
machenbach
72ef6843b0
Reland Make clang the default on linux.
...
BUG=
Review URL: https://codereview.chromium.org/861223002
Cr-Commit-Position: refs/heads/master@{#26204}
2015-01-21 19:32:12 +00:00
machenbach
6024d24866
Properly configure goma.
...
Everything is c/p from common.gypi.
Review URL: https://codereview.chromium.org/862973002
Cr-Commit-Position: refs/heads/master@{#26198}
2015-01-21 15:30:28 +00:00
machenbach
c6641e138b
Restrict tag-update for version generation to cached git repos.
...
Otherwise it's impossible to compile v8 without internet
connection.
BUG=chromium:446166
LOG=n
NOTRY=true
Review URL: https://codereview.chromium.org/856323002
Cr-Commit-Position: refs/heads/master@{#26186}
2015-01-21 13:02:39 +00:00
Benedikt Meurer
9eace97bba
Use signaling NaN for holes in fixed double arrays.
...
TEST=mjsunit,cctest,unittests
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/863633002
Cr-Commit-Position: refs/heads/master@{#26180}
2015-01-21 08:52:25 +00:00
machenbach
ea6831e9de
Ensure tags are fetched when generating the V8 version.
...
This is needed so that version generation works after
bot_update fetched v8 in a chromium checkout.
TBR=tandrii@chromium.org
BUG=chromium:446166
LOG=n
Review URL: https://codereview.chromium.org/860163002
Cr-Commit-Position: refs/heads/master@{#26177}
2015-01-21 08:00:20 +00:00
machenbach
e26627e8da
Don't use -O3 with sanitizers.
...
BUG=chromium:430614
LOG=n
Review URL: https://codereview.chromium.org/798653006
Cr-Commit-Position: refs/heads/master@{#26169}
2015-01-20 16:07:22 +00:00
jochen
3fd5b96f3b
Revert of Make clang the default on linux. (patchset #2 id:20001 of https://codereview.chromium.org/781983002/ )
...
Reason for revert:
breaks arm and mips compilation on main waterfall
Original issue's description:
> Make clang the default on linux.
>
> TBR=jochen@chromium.org
>
> Committed: https://crrev.com/006b5c5cfd8517563601f331bc7a57e13bfeb202
> Cr-Commit-Position: refs/heads/master@{#26164}
TBR=machenbach@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
Review URL: https://codereview.chromium.org/861553004
Cr-Commit-Position: refs/heads/master@{#26166}
2015-01-20 15:15:28 +00:00
machenbach
006b5c5cfd
Make clang the default on linux.
...
TBR=jochen@chromium.org
Review URL: https://codereview.chromium.org/781983002
Cr-Commit-Position: refs/heads/master@{#26164}
2015-01-20 15:01:09 +00:00
bmeurer
655b112466
[ia32] Require SSE2.
...
This way we stay in sync with what Chromium does and we reduce the
number of bugs caused by 80-to-{32,64}-bit rounding errors. It's also
a requirement for switching to signaling NaN for FixedDoubleArray holes.
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/864483002
Cr-Commit-Position: refs/heads/master@{#26154}
2015-01-20 12:53:51 +00:00
machenbach
0707afc863
Partially reland Auto-generate v8 version based on tags.
...
This relands parts of
https://codereview.chromium.org/843913009
It prepares for using this script outside of v8, e.g. in a
chromium hook.
The script is intended to run as a hook and will create
version_gen.cc if the content has changed.
Changes to gyp and gn files can land as a follow up, once
calling the hook on the chromium side has landed.
BUG=chromium:446166
LOG=n
Review URL: https://codereview.chromium.org/830093003
Cr-Commit-Position: refs/heads/master@{#26144}
2015-01-19 16:23:39 +00:00
Sven Panne
e4c5b84652
Contribution of PowerPC port (continuation of 422063005)
...
Contribution of PowerPC port (continuation of 422063005). The inital patch
covers the core changes to the common files. Subsequent patches will cover
changes to common files to support AIX and to update the ppc directories so
they are current with the changes in the rest of the project.
This is based off of the GitHub repository
https://github.com/andrewlow/v8ppc
BUG=
R=svenpanne@chromium.org , danno@chromium.org , sevnpanne@chromium.org
Review URL: https://codereview.chromium.org/817143002
Cr-Commit-Position: refs/heads/master@{#26091}
2015-01-16 07:42:15 +00:00
jochen
dfdc8ca12e
Remove unused iossim setting from mac asan config
...
R=glider@chromium.org
LOG=n
BUG=none
NOTRY=true
Review URL: https://codereview.chromium.org/844283002
Cr-Commit-Position: refs/heads/master@{#26023}
2015-01-12 12:25:17 +00:00
jochen
aeb09e6dcf
Merge v8_optimized_debug 1 and 2
...
All builders that used level 1 should meanwhile define
v8_enable_slow_dchecks, and so they can use level 2 without losing
coverage. Level 2, however, is considerably faster, so we want to use it
on those builders as well. The make optdebug setting is not affected by
this change.
BUG=none
R=machenbach@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/847753002
Cr-Commit-Position: refs/heads/master@{#26019}
2015-01-12 09:58:42 +00:00
jochen
77e3e48ee2
Introduce a gyp variable to control whether or not slow dchecks are on
...
The default for the various debug modes doesn't change.
In a follow-up, OptDebug1 and OptDebug2 will be merged
R=machenbach@chromium.org
LOG=y
BUG=none
Review URL: https://codereview.chromium.org/846653002
Cr-Commit-Position: refs/heads/master@{#26015}
2015-01-09 16:25:51 +00:00
jochen
8216f1bc7c
Add ASAN and TSAN support for Mac
...
BUG=none
LOG=n
R=machenbach@chromium.org ,glider@chromium.org
Review URL: https://codereview.chromium.org/838383005
Cr-Commit-Position: refs/heads/master@{#26013}
2015-01-09 13:38:25 +00:00
jochen
0959123e57
Remove "extra checks"
...
Instead, just use DCHECKs. The builders that want them in release mode
should already be useding dcheck_always_on anyways
BUG=none
R=machenbach@chromium.org
LOG=y
Review URL: https://codereview.chromium.org/841083002
Cr-Commit-Position: refs/heads/master@{#26001}
2015-01-08 16:29:39 +00:00
jochen
bbe8b00d6a
Don't pass -pie when building a shared library build on android
...
BUG=none
R=ulan@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/822933002
Cr-Commit-Position: refs/heads/master@{#25938}
2014-12-23 19:23:03 +00:00
jochen
333a92bd5e
Define SDKROOT for Mac
...
otherwise, the clang we ship doesn't work
BUG=none
R=adamk@chromium.org ,thakis@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/792783006
Cr-Commit-Position: refs/heads/master@{#25893}
2014-12-18 20:42:46 +00:00
svenpanne
71bb00e261
Consistently use only one of virtual/OVERRIDE/FINAL.
...
FINAL implies OVERRIDE, which in turn implies virtual, so there's no need to use
more than one of these. The Google C++ style guide even requires this, see
http://google-styleguide.googlecode.com/svn/trunk/cppguide.html#Inheritance .
While we're here, port r24662 to x87.
The net result is that v8 compiles again with a current clang.
BUG=v8:3753
LOG=y
Review URL: https://codereview.chromium.org/797943002
Cr-Commit-Position: refs/heads/master@{#25792}
2014-12-12 10:44:25 +00:00
jochen
b0f9ac831d
Temporarily remove warning about inconsistent overrides
...
Otherwise, V8 won't compile with the latest clang anymore
BUG=v8:3753
R=machenbach@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/797583004
Cr-Commit-Position: refs/heads/master@{#25788}
2014-12-11 19:10:45 +00:00
mostynb
68870ab6ee
move v8_use_external_startup_data to standalone.gypi
...
This allows the setting to be overridable by embedders,
at the cost of forcing embedders that don't build v8
using standalone.gypi to add this setting to their build
config.
BUG=chromium:421063
LOG=Y
Review URL: https://codereview.chromium.org/794583002
Cr-Commit-Position: refs/heads/master@{#25781}
2014-12-11 15:27:44 +00:00
jochen
93f3531051
Really enable DEBUG code on android unless full debug is specified
...
R=machenbach@chromium.rg
LOG=n
BUG=none
NOTRY=true
Review URL: https://codereview.chromium.org/786203003
Cr-Commit-Position: refs/heads/master@{#25721}
2014-12-09 11:32:36 +00:00
jochen
97c1f4b15c
Turn on DCHECKs and other debugging code if dcheck_always_on is 1
...
When compiling with the macro DCHECK_ALWAYS_ON defined, DCHECKs and
supporting code gets compiled and enabled.
This increases test coverage for chromium release buildbots
BUG=v8:3731
R=jkummerow@chromium.org
LOG=y
Review URL: https://codereview.chromium.org/760213005
Cr-Commit-Position: refs/heads/master@{#25701}
2014-12-08 09:26:16 +00:00
ulan
1fb3932221
Android ARM: enable PIE.
...
BUG=
Review URL: https://codereview.chromium.org/757103003
Cr-Commit-Position: refs/heads/master@{#25584}
2014-12-01 14:06:28 +00:00
machenbach
01be1b0084
Set clang directory in gyp.
...
BUG=
Review URL: https://codereview.chromium.org/764803002
Cr-Commit-Position: refs/heads/master@{#25553}
2014-11-27 17:18:12 +00:00
jochen
6eed147d45
Move C++ flags for Android to cxxflags section
...
BUG=v8:3693
R=ulan@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/752063002
Cr-Commit-Position: refs/heads/master@{#25505}
2014-11-25 15:42:32 +00:00
yangguo
9b8d40594a
Rip out bzip compression for native sources.
...
R=vogelheim@chromium.org
Review URL: https://codereview.chromium.org/750543002
Cr-Commit-Position: refs/heads/master@{#25464}
2014-11-21 12:45:20 +00:00
svenpanne@chromium.org
34b6acd532
Removed gcc_version magic from our GYP files, we don't support GCC 4.4 anymore.
...
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/710233004
Cr-Commit-Position: refs/heads/master@{#25260}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25260 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-11-11 11:47:28 +00:00
dusan.milosavljevic@imgtec.com
61c0aa96e3
MIPS: Resolve chromium and android webview build conflicts.
...
The mips related gyp variables and compiler flags for webview
and chromium builds are set externally. The CL ensures this
behaviour and prevents conflicts in configuration with standalone builds.
TEST=
BUG=
R=jkummerow@chromium.org , paul.lind@imgtec.com
Review URL: https://codereview.chromium.org/707883002
Cr-Commit-Position: refs/heads/master@{#25243}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25243 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-11-10 11:48:17 +00:00
jkummerow@chromium.org
e2e9e1d3f6
Add FLAG_trace_maps
...
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/694533003
Cr-Commit-Position: refs/heads/master@{#25219}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25219 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-11-07 16:03:44 +00:00
bmeurer@chromium.org
4ac3d1407b
Remove deprecated lexer-shell.
...
R=marja@chromium.org
Review URL: https://codereview.chromium.org/658633003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24838 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-10-23 11:42:30 +00:00
bmeurer@chromium.org
08e20d1291
Disable libstdc++ debug mode on x64 for now.
...
TBR=mstarzinger@chromium.org
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24798 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-10-22 09:37:42 +00:00
bmeurer@chromium.org
ded822a5de
Enable libstdc++ debug mode in debug builds.
...
For now it's only enabled on Linux/Intel.
R=mstarzinger@chromium.org
BUG=v8:3638
LOG=y
Review URL: https://codereview.chromium.org/650013006
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24794 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-10-22 08:12:17 +00:00
bmeurer@chromium.org
a58000d11e
Revert "Enable libstdc++ debug mode in debug builds.".
...
This reverts commit r24676 to see if it was the cause for the mysterious
crashes on some bots. If not, we'll reland it.
TBR=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/663013002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24715 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-10-20 04:16:06 +00:00
bmeurer@chromium.org
6353ff20ed
Fix Mac build after r24676.
...
BUG=v8:3638
LOG=n
R=dcarney@chromium.org
Review URL: https://codereview.chromium.org/659253002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24679 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-10-17 07:12:30 +00:00
bmeurer@chromium.org
c987974dcc
Enable libstdc++ debug mode in debug builds.
...
See https://gcc.gnu.org/onlinedocs/libstdc++/manual/debug_mode.html for
details about the debug mode.
BUG=v8:3638
LOG=y
R=jochen@chromium.org
Review URL: https://codereview.chromium.org/648293007
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24676 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-10-17 06:58:20 +00:00
dusan.milosavljevic@imgtec.com
3758fceca9
MIPS: Improve runtime detection and compatibility wrt arch. revisions.
...
TEST=
BUG=
R=jkummerow@chromium.org , paul.lind@imgtec.com
Review URL: https://codereview.chromium.org/618193005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24486 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-10-09 09:39:23 +00:00
jochen@chromium.org
3d7bd81ea3
Don't enable WPO on Win64 and require Server 2003 / x64 for win64
...
WPO was only enabled to work around an issue with the Isolate's static
initializer which no longer exists.
Requiring XP on Win64 doesn't make sense.
BUG=421363
R=machenbach@chromium.org
LOG=y
Review URL: https://codereview.chromium.org/637303002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24457 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-10-08 09:09:57 +00:00
jochen@chromium.org
524d185116
Don't filter out -O0 for debug configurations
...
BUG=none
R=svenpanne@chromium.org
LOG=n
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24354 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-10-01 09:17:19 +00:00