[Lldb-commits] [lldb] [lldb][windows] refactor CreateProcessW setup (PR #168733)
Charles Zablit via lldb-commits
lldb-commits at lists.llvm.org
Thu Nov 27 03:54:38 PST 2025
================
@@ -21,42 +21,41 @@
using namespace lldb;
using namespace lldb_private;
-static void CreateEnvironmentBuffer(const Environment &env,
- std::vector<char> &buffer) {
- // The buffer is a list of null-terminated UTF-16 strings, followed by an
- // extra L'\0' (two bytes of 0). An empty environment must have one
- // empty string, followed by an extra L'\0'.
+std::vector<wchar_t>
+ProcessLauncherWindows::CreateEnvironmentBufferW(const Environment &env) {
----------------
charles-zablit wrote:
Fixed in a3029fc8046b2af9ad65ec7052dcf7a8fdead9eb
https://github.com/llvm/llvm-project/pull/168733
More information about the lldb-commits
mailing list