[all-commits] [llvm/llvm-project] 12aefe: [Flang][Driver] Support for -fsplit-lto-unit optio...

shivaramaarao via All-commits all-commits at lists.llvm.org
Thu Jun 18 04:16:20 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 12aefe26cedd9a8f94546cc1f2be285cfddcc861
      https://github.com/llvm/llvm-project/commit/12aefe26cedd9a8f94546cc1f2be285cfddcc861
  Author: shivaramaarao <58245296+shivaramaarao at users.noreply.github.com>
  Date:   2026-06-18 (Thu, 18 Jun 2026)

  Changed paths:
    M clang/include/clang/Options/Options.td
    M clang/lib/Driver/ToolChains/Flang.cpp
    M flang/include/flang/Frontend/CodeGenOptions.def
    M flang/lib/Frontend/CompilerInvocation.cpp
    M flang/lib/Frontend/FrontendActions.cpp
    A flang/test/Driver/split-lto-unit.f90
    A flang/test/Integration/split-lto-unit-2.f90

  Log Message:
  -----------
  [Flang][Driver] Support for -fsplit-lto-unit option in flang driver (#202858)

When mixing Fortran objects from Flang with C/C++ objects compiled by
Clang during a combined LTO build, it is necessary to ensure that all
files use the same setting for split-lto-unit. This requires the support
for -fsplit-lto-unit option in the flang driver. This support is added
as part of this commit.

 Co-authored-by: Shivarama Rao <shivarama.rao at amd.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list