DescriptionMake the GN build flag 'use_lld' usable on Linux.
We are testing a new linker, LLD, for use within Chromium. This CL adds the
necessary machinery to allow us to use LLD on Linux by enabling the existing
GN build flag 'use_lld'.
This CL teaches the LLVM package build script to build LLD on non-Windows
platforms (for top-of-tree builds only), moves the 'use_lld' build flag from
the Windows toolchain configuration to the generic GN compiler configuration,
and gates the required linker flags for LLD on Linux on that flag.
BUG=607968
R=thakis@chromium.org,brettw@chromium.org,krasin@chromium.org
Committed: https://crrev.com/22afe741dcbb7bca0b792349f07fcac175716692
Cr-Commit-Position: refs/heads/master@{#390733}
Patch Set 1 #
Total comments: 6
Patch Set 2 : Address review comments #Patch Set 3 : Move use_lld flag to build/toolchain/toolchain.gni #
Messages
Total messages: 17 (7 generated)
|