[Lldb-commits] [lldb] b0a76b0 - [lldb] Fix the Windows build after D121536

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Mon Mar 14 11:22:26 PDT 2022


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
   }
 }


        


More information about the lldb-commits mailing list