From b0a76b016219fb6ff878eca5a986799506c98053 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Mon, 14 Mar 2022 11:22:12 -0700 Subject: [PATCH] [lldb] Fix the Windows build after D121536 --- lldb/source/Core/IOHandler.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lldb/source/Core/IOHandler.cpp b/lldb/source/Core/IOHandler.cpp index 86104d9..8ed2cfb 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 } } -- 2.7.4