[Lldb-commits] [lldb] [lldb][windows] allow long paths in process launcher (PR #206029)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Fri Jun 26 05:05:46 PDT 2026


================
@@ -226,16 +227,20 @@ ProcessLauncherWindows::LaunchProcess(const ProcessLaunchInfo &launch_info,
   // command line is not empty, its contents may be modified by CreateProcessW.
   WCHAR *pwcommandLine = wcommandLine.empty() ? nullptr : &wcommandLine[0];
 
-  std::wstring wexecutable, wworkingDirectory;
-  llvm::ConvertUTF8toWide(launch_info.GetExecutableFile().GetPath(),
----------------
DavidSpickett wrote:

I didn't look too deeply, both looked like encoding conversion on the surface but you're right, widenPath's implementation has a lot more going on.

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


More information about the lldb-commits mailing list