[PATCH] D141970: [Clang][LLD] Add --lto-CGO[0-3] option
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 1 17:02:18 PST 2023
MaskRay accepted this revision as: MaskRay.
MaskRay added a comment.
Remove `[Clang]` from the subject.
Give #lld-macho <https://reviews.llvm.org/tag/lld-macho/> a chance to review as well.
================
Comment at: lld/COFF/Config.h:166
+ // Used for /opt:lldltocgo=N
+ std::optional<unsigned> ltocgo;
----------------
`ltoCgo`
================
Comment at: lld/MachO/Config.h:172
uint32_t ltoo = 2;
+ llvm::CodeGenOpt::Level ltocgo;
llvm::CachePruningPolicy thinLTOCachePolicy;
----------------
`ltoCgo` ditto elsewhere
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141970/new/
https://reviews.llvm.org/D141970
More information about the llvm-commits
mailing list