[PATCH] D126291: [flang][Driver] Update link job on windows

Diana Picus via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 10 00:55:02 PDT 2022


rovka added inline comments.


================
Comment at: clang/lib/Driver/ToolChains/MSVC.cpp:133
 
+  if (C.getDriver().IsFlangMode()) {
+    tools::addFortranRuntimeLibraryPath(TC, Args, CmdArgs);
----------------
mmuetzel wrote:
> The GNU toolchain has this conditional on `Args.hasArg(options::OPT_flang_experimental_exec)`.
> Should this require that command line flag on MSVC, too?
> 
> Same for the MinGW toolchain file.
Right, that would be nice :D 


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126291/new/

https://reviews.llvm.org/D126291



More information about the cfe-commits mailing list