diff options
author | Teresa Johnson <tejohnson@google.com> | 2016-09-23 20:38:09 +0000 |
---|---|---|
committer | Teresa Johnson <tejohnson@google.com> | 2016-09-23 20:38:09 +0000 |
commit | 12286d22b7964fa69e44c9d8ca36cc85d4cf5225 (patch) | |
tree | fd8efcbcec547d59db6ecf106e4c9c3a7d1bf8de /lldb/packages/Python/lldbsuite/test/configuration.py | |
parent | 896fee2846868d5b2bf0dfcf65b235d6b0af4413 (diff) | |
download | llvm-12286d22b7964fa69e44c9d8ca36cc85d4cf5225.zip llvm-12286d22b7964fa69e44c9d8ca36cc85d4cf5225.tar.gz llvm-12286d22b7964fa69e44c9d8ca36cc85d4cf5225.tar.bz2 |
[LTO] Add -flto-jobs=N to control backend parallelism
Summary:
Currently, a linker option must be used to control the backend
parallelism of ThinLTO. The linker option varies depending on the
linker (e.g. gold vs ld64). Add a new clang option -flto-jobs=N
to control this.
I've added in the wiring to pass this to the gold plugin. I also
added in the logic to pass this down in the form I understand that
ld64 uses on MacOS, for the darwin target.
Reviewers: mehdi_amini, dexonsmith
Subscribers: mehdi_amini, cfe-commits
Differential Revision: https://reviews.llvm.org/D24826
llvm-svn: 282291
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/configuration.py')
0 files changed, 0 insertions, 0 deletions