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

Issue 1383053005: Reland: Introduce a V8_NORETURN macro and use it to make GCC 4.9.2 happy again. (Closed)

Created:
5 years, 2 months ago by skomski
Modified:
5 years, 2 months ago
CC:
Paweł Hajdan Jr., v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Reland: Introduce a V8_NORETURN macro and use it to make GCC 4.9.2 happy again. Without that, it has a few false positives about out-of-bounds array accesses. Also makes the clang static-analyzer happy. Original code review from Sven Panne: https://codereview.chromium.org/790723002/ CQ_INCLUDE_TRYBOTS=tryserver.v8:v8_linux_arm_dbg,v8_linux_arm64_dbg,v8_mac64_dbg,v8_win_compile_dbg Committed: https://crrev.com/93ae81101af68d81b7af84ea4046ea849e605116 Cr-Commit-Position: refs/heads/master@{#31163}

Patch Set 1 #

Patch Set 2 : remove test that relies on undefined behaviour (signed overflow) #

Patch Set 3 : avoid gcc 4.8 compiler bug on arm by switching checks around #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -20 lines) Patch
M include/v8config.h View 6 chunks +17 lines, -0 lines 0 comments Download
M src/arguments.h View 1 chunk +5 lines, -2 lines 0 comments Download
M src/base/logging.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/base/platform/platform.h View 1 chunk +1 line, -1 line 0 comments Download
M src/heap/spaces-inl.h View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/interpreter/test-bytecode-generator.cc View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M test/cctest/test-assembler-arm.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-atomicops.cc View 1 1 chunk +4 lines, -14 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
skomski
PTAL Sorry for the relands :( It is a bit wacky that the trybot v8_arm ...
5 years, 2 months ago (2015-10-06 13:30:06 UTC) #2
Benedikt Meurer
lgtm
5 years, 2 months ago (2015-10-07 03:38:04 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1383053005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1383053005/20001
5 years, 2 months ago (2015-10-07 06:50:38 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-07 07:31:13 UTC) #7
jochen (gone - plz use gerrit)
lgtm
5 years, 2 months ago (2015-10-07 09:42:45 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1383053005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1383053005/40001
5 years, 2 months ago (2015-10-07 18:16:35 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 2 months ago (2015-10-07 18:58:30 UTC) #12
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/93ae81101af68d81b7af84ea4046ea849e605116 Cr-Commit-Position: refs/heads/master@{#31163}
5 years, 2 months ago (2015-10-07 18:58:54 UTC) #13
Benedikt Meurer
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/1398643002/ by bmeurer@chromium.org. ...
5 years, 2 months ago (2015-10-08 04:32:55 UTC) #14
skomski
5 years, 2 months ago (2015-10-08 08:05:11 UTC) #15
Message was sent while issue was closed.
On 2015/10/08 04:32:55, Benedikt Meurer wrote:
> A revert of this CL (patchset #3 id:40001) has been created in
> https://codereview.chromium.org/1398643002/ by mailto:bmeurer@chromium.org.
> 
> The reason for reverting is: Breaks Arm debug..

Sorry but GCC 4.8 on arm is trolling me so bad:

The last CR worked fine on arm debug and only broke on arm release.
So I tested with arm release and could avoid the compiler bug by switching
the checks around but now it breaks on arm debug.

Powered by Google App Engine
This is Rietveld 408576698