[PATCH] D127779: [LTO][ELF] Add --lto-exit-on option
Jin Xin Ng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 14 13:01:20 PDT 2022
Northbadge created this revision.
Northbadge added reviewers: tejohnson, MaskRay, mtrofin.
Herald added subscribers: ormris, StephenFan, steven_wu, hiraditya, arichardson, inglorion, emaste.
Herald added a project: All.
Northbadge requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Allows the linker to "exit early" after running specific LTO module hooks.
This is useful in combination with --save-temps= as it gives the flexibility of stopping lld once the desired files are emitted.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D127779
Files:
lld/ELF/Config.h
lld/ELF/Driver.cpp
lld/ELF/LTO.cpp
lld/ELF/Options.td
lld/test/ELF/lto/lto-exit-on.ll
llvm/include/llvm/LTO/Config.h
llvm/lib/LTO/LTOBackend.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127779.436904.patch
Type: text/x-patch
Size: 9744 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220614/b3ccba02/attachment.bin>
More information about the llvm-commits
mailing list