Author: Jonas Devlieghere
Date: 2022-03-14T11:22:21-07:00
New Revision: b0a76b016219fb6ff878eca5a986799506c98053

URL: 
https://github.com/llvm/llvm-project/commit/b0a76b016219fb6ff878eca5a986799506c98053
DIFF: 
https://github.com/llvm/llvm-project/commit/b0a76b016219fb6ff878eca5a986799506c98053.diff

LOG: [lldb] Fix the Windows build after D121536

Added: 
    

Modified: 
    lldb/source/Core/IOHandler.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Core/IOHandler.cpp b/lldb/source/Core/IOHandler.cpp
index 86104d949685a..8ed2cfb22873a 100644
--- a/lldb/source/Core/IOHandler.cpp
+++ b/lldb/source/Core/IOHandler.cpp
@@ -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
   }
 }


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to