================ @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits