================
@@ -1309,7 +1282,7 @@ void Flang::ConstructJob(Compilation &C, const JobAction
&JA,
Input.getInputArg().renderAsInput(Args, CmdArgs);
}
- const char *Exec = Args.MakeArgString(D.GetProgramPath("flang", TC));
+ const char *Exec = D.getClangProgramPath();
----------------
kiranchandramohan wrote:
Could we add a neutral accessor, e.g. getDriverProgramPath() or
getExecutableProgramPath(), and use that here instead of getClangProgramPath()?
If that will be a huge change then we can postpone it to a later PR.
https://github.com/llvm/llvm-project/pull/200438
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits