[clang] [HIP] Suport LLVM Driver (PR #112249)
Joseph Huber via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 14 12:37:35 PDT 2024
================
@@ -466,7 +467,7 @@ void HIP::constructGenerateObjFileFromHIPFatBinary(
"-o", Output.getFilename(),
"-x", "assembler",
ObjinFile, "-c"};
- const char *Clang = Args.MakeArgString(C.getDriver().ClangExecutable);
C.addCommand(std::make_unique<Command>(JA, T, ResponseFileSupport::None(),
- Clang, McArgs, Inputs, Output));
+ D.getClangProgramPath(), McArgs,
----------------
jhuber6 wrote:
Guess we don't need to `MakeArgString` because the lifetime of the Driver is for the whole compilation?
https://github.com/llvm/llvm-project/pull/112249
More information about the cfe-commits
mailing list