[clang] [HIP] Suport LLVM Driver (PR #112249)
Petr Hosek via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 14 12:43:33 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,
----------------
petrhosek wrote:
Yes, this is what we do in other parts of the driver as well.
https://github.com/llvm/llvm-project/pull/112249
More information about the cfe-commits
mailing list