[clang] [LinkerWrapper] Use the correct empty file on Windows (PR #84322)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 7 06:02:22 PST 2024


================
@@ -410,7 +410,10 @@ fatbinary(ArrayRef<std::pair<StringRef, StringRef>> InputFiles,
     Targets.push_back(Saver.save("hipv4-amdgcn-amd-amdhsa--" + Arch));
   CmdArgs.push_back(Saver.save(llvm::join(Targets, ",")));
 
-  CmdArgs.push_back("-input=/dev/null");
+  if (Triple.isOSWindows())
----------------
jhuber6 wrote:

Right, thanks

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


More information about the cfe-commits mailing list