45ee0a9afc
Allow controlling the CodeGenOpt::Level independent of the LTO optimization level in LLD via new options for the COFF, ELF, MachO, and wasm frontends to lld. Most are spelled as --lto-CGO[0-3], but COFF is spelled as -opt:lldltocgo=[0-3]. See D57422 for discussion surrounding the issue of how to set the CG opt level. The ultimate goal is to let each function control its CG opt level, but until then the current default means it is impossible to specify a CG opt level lower than 2 while using LTO. This option gives the user a means to control it for as long as it is not handled on a per-function basis. Reviewed By: MaskRay, #lld-macho, int3 Differential Revision: https://reviews.llvm.org/D141970 |
||
---|---|---|
.. | ||
Args.cpp | ||
CMakeLists.txt | ||
CommonLinkerContext.cpp | ||
DWARF.cpp | ||
ErrorHandler.cpp | ||
Filesystem.cpp | ||
Memory.cpp | ||
Reproduce.cpp | ||
Strings.cpp | ||
TargetOptionsCommandFlags.cpp | ||
Timer.cpp | ||
Version.cpp |