[flang-commits] [clang] [flang] [flang][Driver] Enables lto-partitions and fat-lto-object. (PR #158125)

Tarun Prabhu via flang-commits flang-commits at lists.llvm.org
Mon Sep 15 06:41:20 PDT 2025


================
@@ -182,6 +182,29 @@ void Flang::addCodegenOptions(const ArgList &Args,
     CmdArgs.push_back("-fcoarray");
 }
 
+void Flang::addLTOOptions(const ArgList &Args, ArgStringList &CmdArgs) const {
+  const auto &TC = getToolChain();
----------------
tarunprabhu wrote:

Could we use a more concrete type here instead of `auto`?

https://github.com/llvm/llvm-project/pull/158125


More information about the flang-commits mailing list