[PATCH] D138451: [lld/mac] Add support distributed thinlto
Nico Weber via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 21 11:20:28 PST 2022
thakis created this revision.
thakis added a reviewer: lld-macho.
Herald added subscribers: ormris, arphaman, steven_wu, hiraditya, inglorion, emaste.
Herald added projects: lld-macho, All.
thakis requested review of this revision.
Herald added subscribers: alextsao1999, MaskRay.
Adds support for the following flags:
- thinlto-index-only, thinlto-index-only=
- thinlto-emit-imports-files
- thinlto-emit-index-files
- thinlto-object-suffix-replace=
- thinlto-prefix-replace=
See https://blog.llvm.org/2016/06/thinlto-scalable-and-incremental-lto.html
for some words on -thinlto-index-only.
I don't really need the other flags, but they were in the vicinity
and _someone_ might need them, so I figured I'd add them too.
https://reviews.llvm.org/D138451
Files:
lld/MachO/Config.h
lld/MachO/Driver.cpp
lld/MachO/InputFiles.cpp
lld/MachO/InputFiles.h
lld/MachO/LTO.cpp
lld/MachO/LTO.h
lld/MachO/Options.td
lld/test/ELF/lto/thinlto-obj-path.ll
lld/test/MachO/thinlto-emit-imports.ll
lld/test/MachO/thinlto-emit-index.ll
lld/test/MachO/thinlto-index-file.ll
lld/test/MachO/thinlto-index-only.ll
lld/test/MachO/thinlto-no-index.ll
lld/test/MachO/thinlto-object-suffix-replace.ll
lld/test/MachO/thinlto-prefix-replace.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138451.476957.patch
Type: text/x-patch
Size: 33381 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221121/8b7f6edd/attachment.bin>
More information about the llvm-commits
mailing list