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

Issue 2758563002: [gn] Enable stricter build flags (Closed)

Created:
3 years, 9 months ago by jgruber
Modified:
3 years, 9 months ago
CC:
devtools-reviews_chromium.org, ulan, v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[gn] Enable stricter build flags Default to the chromium-internal build config (instead of the more permissive no_chromium_code config). BUG=v8:5878 Review-Url: https://codereview.chromium.org/2758563002 Cr-Commit-Position: refs/heads/master@{#43909} Committed: https://chromium.googlesource.com/v8/v8/+/542b41a7ccbcfbd6f22aa5937fbece1da613456b

Patch Set 1 #

Patch Set 2 : Revert reinterpret_cast #

Patch Set 3 : Disable windows warnings, fix unreachable code #

Patch Set 4 : Tentative cflags fix #

Patch Set 5 : Move to internal_config #

Patch Set 6 : Move to toolchain #

Patch Set 7 : Ignore more and fix more #

Patch Set 8 : Fix more #

Patch Set 9 : Revert unreachable and potentially uninitialized local fixes #

Patch Set 10 : Assignment in conditional #

Patch Set 11 : Fix more #

Patch Set 12 : More fixes #

Patch Set 13 : Ignore int conversion warnings #

Patch Set 14 : STDC_FORMAT_MACROS on mips #

Total comments: 2

Patch Set 15 : Fix one last unused variable error #

Total comments: 2

Patch Set 16 : Address comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -77 lines) Patch
M BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +14 lines, -5 lines 0 comments Download
M gni/v8.gni View 1 chunk +1 line, -2 lines 0 comments Download
M src/api.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M src/ast/context-slot-cache.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M src/ast/modules.h View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M src/base/platform/mutex.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/base/platform/platform-win32.cc View 14 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/gap-resolver.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +4 lines, -3 lines 0 comments Download
M src/d8.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M src/debug/debug.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
M src/extensions/statistics-extension.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M src/field-index-inl.h View 1 chunk +1 line, -1 line 0 comments Download
M src/globals.h View 2 chunks +12 lines, -12 lines 0 comments Download
M src/heap/heap.h View 1 chunk +3 lines, -3 lines 0 comments Download
M src/heap/heap.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M src/heap/heap-inl.h View 1 chunk +1 line, -1 line 0 comments Download
M src/heap/spaces.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M src/heap/spaces.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +4 lines, -3 lines 0 comments Download
M src/heap/spaces-inl.h View 1 chunk +1 line, -1 line 0 comments Download
M src/interpreter/bytecodes.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M src/libsampler/sampler.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/lookup.h View 2 chunks +2 lines, -2 lines 0 comments Download
M src/lookup.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M src/mips/constants-mips.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M src/objects.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -2 lines 0 comments Download
M src/profiler/heap-snapshot-generator.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M src/runtime/runtime-debug.cc View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M src/runtime/runtime-liveedit.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M src/value-serializer.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M src/wasm/wasm-module-builder.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M src/wasm/wasm-objects.h View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/heap/test-heap.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -2 lines 0 comments Download
M test/cctest/interpreter/test-interpreter.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +8 lines, -5 lines 0 comments Download
M test/cctest/test-strings.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +5 lines, -12 lines 0 comments Download
M test/inspector/inspector-test.cc View 1 chunk +0 lines, -1 line 0 comments Download
M test/unittests/wasm/wasm-macro-gen-unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 82 (71 generated)
jgruber
Hi folks, please take a look. This CL makes gn default to stricter build flags ...
3 years, 9 months ago (2017-03-17 13:21:20 UTC) #63
jochen (gone - plz use gerrit)
lgtm
3 years, 9 months ago (2017-03-17 13:25:39 UTC) #64
Michael Achenbach
lgtm, awesome job!
3 years, 9 months ago (2017-03-17 13:36:02 UTC) #67
Michael Achenbach
Not, this might run into more things on the bots we don't have in CQ, ...
3 years, 9 months ago (2017-03-17 13:36:36 UTC) #68
Michael Achenbach
*Note
3 years, 9 months ago (2017-03-17 13:36:48 UTC) #69
Hannes Payer (out of office)
On 2017/03/17 13:36:48, Michael Achenbach wrote: > *Note heap lgtm
3 years, 9 months ago (2017-03-17 13:39:17 UTC) #70
ahaas
On 2017/03/17 at 13:39:17, hpayer wrote: > On 2017/03/17 13:36:48, Michael Achenbach wrote: > > ...
3 years, 9 months ago (2017-03-17 14:18:22 UTC) #71
Michael Starzinger
LGTM on "compiler". https://codereview.chromium.org/2758563002/diff/280001/src/compiler/gap-resolver.cc File src/compiler/gap-resolver.cc (right): https://codereview.chromium.org/2758563002/diff/280001/src/compiler/gap-resolver.cc#newcode216 src/compiler/gap-resolver.cc:216: if (!kSimpleFPAliasing && is_fp_loc_move) { Isn't ...
3 years, 9 months ago (2017-03-17 14:38:09 UTC) #72
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2758563002/290001
3 years, 9 months ago (2017-03-17 15:16:08 UTC) #78
jgruber
https://codereview.chromium.org/2758563002/diff/280001/src/compiler/gap-resolver.cc File src/compiler/gap-resolver.cc (right): https://codereview.chromium.org/2758563002/diff/280001/src/compiler/gap-resolver.cc#newcode216 src/compiler/gap-resolver.cc:216: if (!kSimpleFPAliasing && is_fp_loc_move) { On 2017/03/17 14:38:09, Michael ...
3 years, 9 months ago (2017-03-17 15:16:09 UTC) #79
commit-bot: I haz the power
3 years, 9 months ago (2017-03-17 15:18:31 UTC) #82
Message was sent while issue was closed.
Committed patchset #16 (id:290001) as
https://chromium.googlesource.com/v8/v8/+/542b41a7ccbcfbd6f22aa5937fbece1da61...

Powered by Google App Engine
This is Rietveld 408576698