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

Issue 2572833003: Clang toolchain: checkout LLD on all platforms but Darwin. (Closed)

Created:
4 years ago by krasin1
Modified:
3 years, 9 months ago
Reviewers:
Nico, pcc1
CC:
chromium-reviews, eugenis+clang_chromium.org, vmpstr+watch_chromium.org, Lei Zhang, dsinclair, yunlian, glider+clang_chromium.org, ukai+watch_chromium.org, hans, dmikurube+clang_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ship LLD and llvm-ar with Clang toolchain on Linux. Theoretically, that gives us a chance to switch from Gold plugin to lld for all modes in Chrome. Two bundled, potentially risky changes: - LLD and Gold plugin are built with threads enabled - LLD and Gold plugin are linked with LLD + ThinLTO instead of FullLTO + Gold plugin. BUG=607968 Review-Url: https://codereview.chromium.org/2572833003 Cr-Commit-Position: refs/heads/master@{#456453} Committed: https://chromium.googlesource.com/chromium/src/+/11bb25447c3170340828888298f90ae5ac7de746

Patch Set 1 #

Total comments: 3

Patch Set 2 : checkout lld for all platforms but darwin #

Patch Set 3 : Add llvm-ar and lld into the distribution #

Total comments: 2

Patch Set 4 : sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -5 lines) Patch
M tools/clang/scripts/package.py View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M tools/clang/scripts/update.py View 1 2 3 8 chunks +12 lines, -5 lines 0 comments Download

Messages

Total messages: 32 (10 generated)
krasin1
4 years ago (2016-12-13 19:57:34 UTC) #2
krasin1
On 2016/12/13 19:57:34, krasin1 wrote: FYI: I have tested this test with https://codereview.chromium.org/2576553002/
4 years ago (2016-12-13 19:58:20 UTC) #3
Nico
https://codereview.chromium.org/2572833003/diff/1/tools/clang/scripts/update.py File tools/clang/scripts/update.py (left): https://codereview.chromium.org/2572833003/diff/1/tools/clang/scripts/update.py#oldcode460 tools/clang/scripts/update.py:460: if sys.platform == 'win32' or use_head_revision: Do we still ...
4 years ago (2016-12-13 20:02:23 UTC) #6
krasin1
https://codereview.chromium.org/2572833003/diff/1/tools/clang/scripts/update.py File tools/clang/scripts/update.py (left): https://codereview.chromium.org/2572833003/diff/1/tools/clang/scripts/update.py#oldcode460 tools/clang/scripts/update.py:460: if sys.platform == 'win32' or use_head_revision: On 2016/12/13 20:02:23, ...
4 years ago (2016-12-13 20:08:19 UTC) #7
Nico
https://codereview.chromium.org/2572833003/diff/1/tools/clang/scripts/update.py File tools/clang/scripts/update.py (left): https://codereview.chromium.org/2572833003/diff/1/tools/clang/scripts/update.py#oldcode460 tools/clang/scripts/update.py:460: if sys.platform == 'win32' or use_head_revision: On 2016/12/13 20:08:19, ...
4 years ago (2016-12-13 20:12:55 UTC) #8
krasin1
Hi Nico, I have extended the CL. Now it has everything we need in order ...
3 years, 10 months ago (2017-02-08 02:36:41 UTC) #13
krasin1
On 2017/02/08 02:36:41, krasin1 wrote: > Hi Nico, > > I have extended the CL. ...
3 years, 10 months ago (2017-02-08 19:58:55 UTC) #14
Nico
Risky is bad since the last roll was way too long ago and will already ...
3 years, 10 months ago (2017-02-08 20:02:00 UTC) #15
krasin1
On 2017/02/08 20:02:00, Nico wrote: > Risky is bad since the last roll was way ...
3 years, 10 months ago (2017-02-08 20:36:35 UTC) #16
krasin1
https://codereview.chromium.org/2572833003/diff/40001/tools/clang/scripts/package.py File tools/clang/scripts/package.py (right): https://codereview.chromium.org/2572833003/diff/40001/tools/clang/scripts/package.py#newcode225 tools/clang/scripts/package.py:225: want.append('bin/llvm-ar') On 2017/02/08 20:02:00, Nico wrote: > do we ...
3 years, 10 months ago (2017-02-08 20:36:41 UTC) #17
Nico
I mean, couldn't we run lld with the "run in ar mode" flag like we ...
3 years, 10 months ago (2017-02-08 21:16:23 UTC) #18
krasin1
On 2017/02/08 21:16:23, Nico wrote: > I mean, couldn't we run lld with the "run ...
3 years, 10 months ago (2017-02-08 21:18:55 UTC) #19
pcc1
On 2017/02/08 21:18:55, krasin1 wrote: > On 2017/02/08 21:16:23, Nico wrote: > > I mean, ...
3 years, 9 months ago (2017-03-10 21:43:19 UTC) #20
krasin1
Let's submit the CL as is. Nico, any objections?
3 years, 9 months ago (2017-03-13 17:19:26 UTC) #21
Nico
How big is llvm-ar? As usual, the bar for putting stuff in the clang bundle ...
3 years, 9 months ago (2017-03-13 17:36:49 UTC) #22
krasin1
On 2017/03/13 17:36:49, Nico wrote: > How big is llvm-ar? It's about as big as ...
3 years, 9 months ago (2017-03-13 17:52:41 UTC) #23
Nico
On 2017/03/13 17:52:41, krasin1 wrote: > On 2017/03/13 17:36:49, Nico wrote: > > How big ...
3 years, 9 months ago (2017-03-13 19:09:04 UTC) #24
krasin1
On 2017/03/13 19:09:04, Nico wrote: > On 2017/03/13 17:52:41, krasin1 wrote: > > On 2017/03/13 ...
3 years, 9 months ago (2017-03-13 19:12:49 UTC) #25
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/2572833003/60001
3 years, 9 months ago (2017-03-13 19:13:44 UTC) #27
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/chromium/src/+/11bb25447c3170340828888298f90ae5ac7de746
3 years, 9 months ago (2017-03-13 20:12:52 UTC) #30
Reid Kleckner
On 2017/03/10 21:43:19, pcc1 wrote: > If we cared a lot about distribution size I ...
3 years, 9 months ago (2017-03-14 00:28:57 UTC) #31
Nico
3 years, 9 months ago (2017-03-14 00:45:41 UTC) #32
Message was sent while issue was closed.
The annotations are only needed on Windows. pcc tried libllvm.so a year ago
or so and it regressed build time by like 30%, so that's probably not an
option.

On Mar 13, 2017 8:28 PM, <rnk@chromium.org> wrote:

> On 2017/03/10 21:43:19, pcc1 wrote:
> > If we cared a lot about distribution size I suppose we could busybox a
> bunch
> of
> > LLVM binaries together, and you might recall that last year I sent you a
> > proposal/patch to do that. It's unclear whether we want to do that at
> this
> point
> > though.
>
> I'd rather improve support for -DLLVM_ENABLE_DYLIB=ON or whatever it's
> called
> and get libLLVM.so and LLVM.dll working. I know there are a lot of
> challenges
> there around performance and annotation of library interfaces, but it would
> align much better with what packagers want.
>
> https://codereview.chromium.org/2572833003/
>

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698