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

Issue 575833003: Roll Clang 214024:216630 (+216684) and switch to CMake (try 3) (Closed)

Created:
6 years, 3 months ago by hans
Modified:
5 years, 7 months ago
Reviewers:
brettw, Nico
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 3) 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://crrev.com/bb493574c5f5ca5b572849676b69ab7bfec9828d Cr-Commit-Position: refs/heads/master@{#295289}

Patch Set 1 #

Patch Set 2 : Make sure RPATH gets set when building the plugins #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+369 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 1 chunk +44 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 1 chunk +41 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 1 13 chunks +206 lines, -84 lines 3 comments Download

Messages

Total messages: 13 (2 generated)
hans
Try 1: https://codereview.chromium.org/453513004 Try 2: https://codereview.chromium.org/578623002 This one contains a fix to make sure we ...
6 years, 3 months ago (2014-09-17 00:26:33 UTC) #2
hans
Whitespace tryjobs for comparison: https://codereview.chromium.org/405473002
6 years, 3 months ago (2014-09-17 00:40:42 UTC) #3
Nico
lgtm https://codereview.chromium.org/575833003/diff/20001/tools/clang/scripts/update.sh File tools/clang/scripts/update.sh (right): https://codereview.chromium.org/575833003/diff/20001/tools/clang/scripts/update.sh#newcode306 tools/clang/scripts/update.sh:306: svn revert test/asan/TestCases/Linux/new_array_cookie_test.cc :-)
6 years, 3 months ago (2014-09-17 17:13:23 UTC) #5
hans
Committed patchset #2 (id:20001) manually as bb49357 (presubmit successful).
6 years, 3 months ago (2014-09-17 17:18:52 UTC) #6
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/bb493574c5f5ca5b572849676b69ab7bfec9828d Cr-Commit-Position: refs/heads/master@{#295289}
6 years, 3 months ago (2014-09-17 17:18:52 UTC) #7
Alexander Potapenko
On 2014/09/17 17:18:52, I haz the power (commit-bot) wrote: > Patchset 2 (id:??) landed as ...
6 years ago (2014-12-17 10:57:51 UTC) #8
hans
On 2014/12/17 10:57:51, Alexander Potapenko wrote: > On 2014/09/17 17:18:52, I haz the power (commit-bot) ...
6 years ago (2014-12-17 17:29:30 UTC) #9
Nico
https://codereview.chromium.org/575833003/diff/20001/tools/clang/scripts/update.sh File tools/clang/scripts/update.sh (right): https://codereview.chromium.org/575833003/diff/20001/tools/clang/scripts/update.sh#newcode242 tools/clang/scripts/update.sh:242: # We have moved from building compiler-rt in the ...
5 years, 7 months ago (2015-04-29 19:58:46 UTC) #10
hans
https://codereview.chromium.org/575833003/diff/20001/tools/clang/scripts/update.sh File tools/clang/scripts/update.sh (right): https://codereview.chromium.org/575833003/diff/20001/tools/clang/scripts/update.sh#newcode242 tools/clang/scripts/update.sh:242: # We have moved from building compiler-rt in the ...
5 years, 7 months ago (2015-04-29 20:02:33 UTC) #11
Nico
On 2015/04/29 20:02:33, hans wrote: > https://codereview.chromium.org/575833003/diff/20001/tools/clang/scripts/update.sh > File tools/clang/scripts/update.sh (right): > > https://codereview.chromium.org/575833003/diff/20001/tools/clang/scripts/update.sh#newcode242 > ...
5 years, 7 months ago (2015-04-29 20:04:54 UTC) #12
Nico
5 years, 7 months ago (2015-04-29 20:08:12 UTC) #13
Message was sent while issue was closed.
On 2015/04/29 20:04:54, Nico wrote:
> On 2015/04/29 20:02:33, hans wrote:
> >
>
https://codereview.chromium.org/575833003/diff/20001/tools/clang/scripts/upda...
> > File tools/clang/scripts/update.sh (right):
> > 
> >
>
https://codereview.chromium.org/575833003/diff/20001/tools/clang/scripts/upda...
> > tools/clang/scripts/update.sh:242: # We have moved from building compiler-rt
> in
> > the LLVM tree, to a separate
> > On 2015/04/29 19:58:46, Nico wrote:
> > > (this is annoying every time I need to debug something with compiler-rt
:-/)
> > 
> > The deleting part or the fact that it moved? Are you trying local changes in
> > third_party/llvm/?
> 
> That it's out of tree. I have my llvm checkout in ~/src/llvm, and if I want to
> test asan things I need to go to a separate compiler-rt checkout, build that
> manually, carefully copy stuff over, etc. Previously, I could just `svn up` in
> ~/src/llvm/projects/compiler-rt in the rare case that I needed the runtime.

…but now I realize that in my current case, I need an android asan runtime which
was always complicated. So today the new way isn't much worse than the old way,
I suppose.

Powered by Google App Engine
This is Rietveld 408576698