[clang] [HLSL][DirectX] Add the Qdx-rootsignature-strip driver option (PR #154454)

Farzon Lotfi via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 22 09:15:12 PDT 2025


================
@@ -295,6 +295,32 @@ void tools::hlsl::MetalConverter::ConstructJob(
                                          Exec, CmdArgs, Inputs, Input));
 }
 
+void tools::LLVMObjcopy::ConstructJob(Compilation &C, const JobAction &JA,
+                                      const InputInfo &Output,
+                                      const InputInfoList &Inputs,
+                                      const ArgList &Args,
+                                      const char *LinkingOutput) const {
+
+  std::string ObjcopyPath = getToolChain().GetProgramPath("llvm-objcopy");
----------------
farzonl wrote:

don't work much in the driver, should we be using a std:string here, I've noticed this file uses StringRef in other places.

https://github.com/llvm/llvm-project/pull/154454


More information about the cfe-commits mailing list