lld-link allows the number of parallel ThinLTO jobs to be specified
using /opt:lldltojobs=N. If left unspecified, the implementation
conservatively defaults to 1. This leads to very long link times. This
change makes it so that the default is to automatically set the
parallelism, as we do in the ELF linker.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Seems reasonable to me, but I'm not familiar with the difference between LTOJobs and LTOPartitions. Does it make sense to have multiple jobs but just one partition? I thought the point of ThinLTO was to process multiple partitions in parallel.
Comment Actions
LTOPartitions is used by parallel LTO code generation, which is a separate feature to ThinLTO.