[PATCH] D115416: [lld-macho] Prevent writing map files on the critical path
Vy Nguyen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 14 16:55:24 PST 2021
oontvoo added inline comments.
================
Comment at: lld/MachO/Writer.cpp:1043-1048
+ threadFutures.emplace_back(threadPool.async(
+ [](LinkEditSection *osec) {
+ if (osec)
+ osec->finalizeContents();
+ },
+ osec));
----------------
oontvoo wrote:
> No need to enqueue a NULL `osec`
(although I'm not sure it could ever be null here )
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115416/new/
https://reviews.llvm.org/D115416
More information about the llvm-commits
mailing list