[clang] [llvm] [CGData][ThinLTO] Global Outlining with Two-CodeGen Rounds (PR #90933)

Kyungwoo Lee via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 18 07:10:33 PDT 2024


================
@@ -215,6 +224,76 @@ void warn(Error E, StringRef Whence) {
   }
 }
 
+static std::string getPath(StringRef Dir, unsigned Task) {
+  return (Dir + "/" + llvm::Twine(Task) + ".saved_copy.bc").str();
----------------
kyulee-com wrote:

> Will this work on windows? Can we use `llvm::sys::path`?

Thanks for the catch!

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


More information about the cfe-commits mailing list