[PATCH] D99356: [lld-macho] Support --thinlto-jobs
Jez Ng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 25 10:58:46 PDT 2021
int3 created this revision.
int3 added a reviewer: lld-macho.
Herald added subscribers: dang, steven_wu, hiraditya, inglorion.
Herald added a project: lld-macho.
int3 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
The test is loosely based off LLD-ELF's `thinlto.ll`. However, I
found that test questionable because the the -save_temps behavior it
checks for is identical regardless of whether we are running in single-
or multi-threaded mode. Instead, I added an ad-hoc script to parse the
time trace and count the number of threads in which we are running
OptModule.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D99356
Files:
lld/MachO/Config.h
lld/MachO/Driver.cpp
lld/MachO/LTO.cpp
lld/MachO/Options.td
lld/test/MachO/Inputs/time_trace_tid_count.py
lld/test/MachO/thinlto-jobs.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99356.333355.patch
Type: text/x-patch
Size: 4987 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210325/d1992024/attachment.bin>
More information about the llvm-commits
mailing list