[clang] [LinkerWrapper] Try to fix testing on Windows (PR #130285)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 7 06:06:48 PST 2025


================
@@ -599,9 +599,10 @@ Expected<StringRef> writeOffloadFile(const OffloadFile &File) {
 
   StringRef Prefix =
       sys::path::stem(Binary.getMemoryBufferRef().getBufferIdentifier());
-
-  auto TempFileOrErr = createOutputFile(
-      Prefix + "-" + Binary.getTriple() + "-" + Binary.getArch(), "o");
+  std::string Filename =
----------------
jhuber6 wrote:

I looked in the Windows `Path.inc` and only saw something for directory iterator. But I could be wrong.

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


More information about the cfe-commits mailing list