Skip to content

Commit 51fcfee

Browse files
Merge pull request llvm#11860 from charles-zablit/charles-zablit/lldb/windows/python-message-add-color-to-stable
2 parents 13fb03c + 6e3b455 commit 51fcfee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lldb/tools/driver/Driver.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -518,12 +518,12 @@ void SetupPythonRuntimeLibrary() {
518518
if (AddPythonDLLToSearchPath() && IsPythonDLLInPath())
519519
return;
520520
#endif
521-
llvm::errs() << "error: unable to find '"
522-
<< LLDB_PYTHON_RUNTIME_LIBRARY_FILENAME << "'.\n";
521+
WithColor::error() << "unable to find '"
522+
<< LLDB_PYTHON_RUNTIME_LIBRARY_FILENAME << "'.\n";
523523
return;
524524
#elif defined(LLDB_PYTHON_DLL_RELATIVE_PATH)
525525
if (!AddPythonDLLToSearchPath())
526-
llvm::errs() << "error: unable to find the Python runtime library.\n";
526+
WithColor::error() << "unable to find the Python runtime library.\n";
527527
#endif
528528
}
529529
#endif

0 commit comments

Comments
 (0)