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 578623002: Roll Clang 214024:216630 (+216684) and switch to CMake (try 2) (Closed)

Created:
6 years, 3 months ago by hans
Modified:
6 years, 3 months ago
Reviewers:
Nico, brettw
CC:
chromium-reviews, eugenis+clang_chromium.org, glider+clang_chromium.org, dmikurube+clang_chromium.org, ukai+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Roll Clang 214024:216630 (+216684) and switch to CMake (try 2) This updates Chromium's clang version to r216630 with r216684 cherry-picked to fix an ASan issue. It also changes the build script for Clang to use CMake instead of Autoconf. The ASan team say this configuration is better tested, and it also makes us consistent with the Windows Clang build which already uses CMake. BUG=400849 R=thakis@chromium.org TBR=brettw Committed: https://chromium.googlesource.com/chromium/src/+/3853ffa861dc43537f23c21a3fc4104c6f08c3a2

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+346 lines, -176 lines) Patch
M build/config/compiler/BUILD.gn View 1 chunk +11 lines, -0 lines 0 comments Download
M tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp View 3 chunks +6 lines, -5 lines 0 comments Download
A tools/clang/blink_gc_plugin/CMakeLists.txt View 1 chunk +35 lines, -0 lines 0 comments Download
D tools/clang/blink_gc_plugin/Makefile View 1 chunk +0 lines, -21 lines 0 comments Download
M tools/clang/blink_gc_plugin/tests/test.sh View 3 chunks +17 lines, -14 lines 0 comments Download
A tools/clang/plugins/CMakeLists.txt View 1 chunk +32 lines, -0 lines 0 comments Download
M tools/clang/plugins/FindBadConstructsAction.h View 1 chunk +1 line, -1 line 0 comments Download
M tools/clang/plugins/FindBadConstructsAction.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
D tools/clang/plugins/Makefile View 1 chunk +0 lines, -19 lines 0 comments Download
M tools/clang/plugins/tests/test.sh View 3 chunks +17 lines, -13 lines 0 comments Download
M tools/clang/scripts/blink_gc_plugin_flags.sh View 1 chunk +2 lines, -3 lines 0 comments Download
M tools/clang/scripts/package.sh View 6 chunks +18 lines, -10 lines 0 comments Download
M tools/clang/scripts/repackage.sh View 2 chunks +4 lines, -4 lines 0 comments Download
M tools/clang/scripts/update.sh View 13 chunks +201 lines, -84 lines 0 comments Download

Messages

Total messages: 9 (1 generated)
hans
Try 1 (https://codereview.chromium.org/453513004) was reverted due to -Wundefined-bool-conversion errors in the gn debug build. Fix ...
6 years, 3 months ago (2014-09-16 17:51:14 UTC) #1
Nico
lgtm (usual technique is to upload the unmodified patch set first, and then the fix ...
6 years, 3 months ago (2014-09-16 17:54:28 UTC) #3
hans
On 2014/09/16 17:54:28, Nico (hiding) wrote: > lgtm > > (usual technique is to upload ...
6 years, 3 months ago (2014-09-16 17:56:36 UTC) #4
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/3853ffa861dc43537f23c21a3fc4104c6f08c3a2 Cr-Commit-Position: refs/heads/master@{#295099}
6 years, 3 months ago (2014-09-16 18:00:47 UTC) #5
hans
Committed patchset #1 (id:1) manually as 3853ffa (presubmit successful).
6 years, 3 months ago (2014-09-16 18:00:51 UTC) #6
Dirk Pranke
On 2014/09/16 18:00:51, hans wrote: > Committed patchset #1 (id:1) manually as 3853ffa (presubmit successful). ...
6 years, 3 months ago (2014-09-16 19:51:32 UTC) #7
brettw
This is fine, but if comparison to null happens in asserts, what about when we ...
6 years, 3 months ago (2014-09-16 19:59:29 UTC) #8
hans
6 years, 3 months ago (2014-09-16 20:05:32 UTC) #9
Message was sent while issue was closed.
On 2014/09/16 19:59:29, brettw wrote:
> This is fine, but if comparison to null happens in asserts, what about when we
> compile asserts in release mode a la DCHECK_ALWAYS_ON?

Then I think the warning is correct and useful, as LLVM can optimize the check
away.

In practice, the assert's where this currently fires is in Skia, using their
ASSERT macro. I assume that's only enabled in debug builds.

Powered by Google App Engine
This is Rietveld 408576698