[flang-commits] [clang] [flang] [Flang][Driver] Support for -fsplit-lto-unit option in flang driver (PR #202858)

via flang-commits flang-commits at lists.llvm.org
Wed Jun 17 08:28:31 PDT 2026


shivaramaarao wrote:

> Thanks for all the changes. Just some exceedingly minor nits, but no need to wait for another round of approval.
> 
> Do you know why the test was failing on Windows in the pre-commit CI?

On windows, the compiler is built without default linker as lld. So, if we compile flang -flto <testname>, it gives error that flto require -fuse-ld=lld.

passing -c helps in this case (similar to other tests) as linker will not be invoked.

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


More information about the flang-commits mailing list