[clang] [Clang] Rework LTO mode selection to be a Toolchain property (PR #201155)
Matt Arsenault via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 3 04:28:47 PDT 2026
================
@@ -462,6 +464,17 @@ class ToolChain {
/// native LLVM support.
virtual bool HasNativeLLVMSupport() const;
+ /// Returns the default LTO mode for this toolchain.
+ virtual LTOKind getDefaultLTOMode() const;
----------------
arsenm wrote:
I think those are all terrible too
https://github.com/llvm/llvm-project/pull/201155
More information about the cfe-commits
mailing list