@@ -295,11 +295,11 @@ void tools::hlsl::MetalConverter::ConstructJob(
295295 Exec, CmdArgs, Inputs, Input));
296296}
297297
298- void tools::hlsl:: LLVMObjcopy::ConstructJob (Compilation &C, const JobAction &JA,
299- const InputInfo &Output,
300- const InputInfoList &Inputs,
301- const ArgList &Args,
302- const char *LinkingOutput) const {
298+ void tools::LLVMObjcopy::ConstructJob (Compilation &C, const JobAction &JA,
299+ const InputInfo &Output,
300+ const InputInfoList &Inputs,
301+ const ArgList &Args,
302+ const char *LinkingOutput) const {
303303
304304 std::string ObjcopyPath = getToolChain ().GetProgramPath (" llvm-objcopy" );
305305 const char *Exec = Args.MakeArgString (ObjcopyPath);
@@ -339,9 +339,9 @@ Tool *clang::driver::toolchains::HLSLToolChain::getTool(
339339 if (!MetalConverter)
340340 MetalConverter.reset (new tools::hlsl::MetalConverter (*this ));
341341 return MetalConverter.get ();
342- case Action::BinaryModifyJobClass :
342+ case Action::ObjcopyJobClass :
343343 if (!LLVMObjcopy)
344- LLVMObjcopy.reset (new tools::hlsl:: LLVMObjcopy (*this ));
344+ LLVMObjcopy.reset (new tools::LLVMObjcopy (*this ));
345345 return LLVMObjcopy.get ();
346346 default :
347347 return ToolChain::getTool (AC);
@@ -498,7 +498,7 @@ bool HLSLToolChain::isLastJob(DerivedArgList &Args,
498498 (!HasTranslation && HasValidation &&
499499 AC == Action::BinaryAnalyzeJobClass) ||
500500 (!HasTranslation && !HasValidation && HasObjcopy &&
501- AC == Action::BinaryModifyJobClass ))
501+ AC == Action::ObjcopyJobClass ))
502502 return true ;
503503 return false ;
504504}
0 commit comments