[lldb] Fix the Windows build after D121536
authorJonas Devlieghere <jonas@devlieghere.com>
Mon, 14 Mar 2022 18:22:12 +0000 (11:22 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Mon, 14 Mar 2022 18:22:21 +0000 (11:22 -0700)
lldb/source/Core/IOHandler.cpp

index 86104d9..8ed2cfb 100644 (file)
@@ -641,8 +641,7 @@ void IOHandlerEditline::PrintAsync(const char *s, size_t len, bool is_stdout) {
     IOHandler::PrintAsync(s, len, is_stdout);
 #ifdef _WIN32
     if (prompt)
-      IOHandler::PrintAsync(GetOutputStreamFileSP().get(), prompt,
-                            strlen(prompt));
+      IOHandler::PrintAsync(prompt, strlen(prompt), is_stdout);
 #endif
   }
 }