[flang-commits] [clang] [flang] [flang] Do not hardcode "flang" in the driver (PR #200438)
Kiran Chandramohan via flang-commits
flang-commits at lists.llvm.org
Fri May 29 09:17:47 PDT 2026
================
@@ -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
More information about the flang-commits
mailing list