Skip to content

Commit 53e5d74

Browse files
Merge pull request #11859 from charles-zablit/charles-zablit/lldb/windows/python-message-add-color-to-6.2
🍒 [lldb][windows] add color to the Python.dll not found error (llvm#168718)
2 parents c38ce79 + 04e7b52 commit 53e5d74

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
@@ -505,12 +505,12 @@ void SetupPythonRuntimeLibrary() {
505505
if (AddPythonDLLToSearchPath() && IsPythonDLLInPath())
506506
return;
507507
#endif
508-
llvm::errs() << "error: unable to find '"
509-
<< LLDB_PYTHON_RUNTIME_LIBRARY_FILENAME << "'.\n";
508+
WithColor::error() << "unable to find '"
509+
<< LLDB_PYTHON_RUNTIME_LIBRARY_FILENAME << "'.\n";
510510
return;
511511
#elif defined(LLDB_PYTHON_DLL_RELATIVE_PATH)
512512
if (!AddPythonDLLToSearchPath())
513-
llvm::errs() << "error: unable to find the Python runtime library.\n";
513+
WithColor::error() << "unable to find the Python runtime library.\n";
514514
#endif
515515
}
516516
#endif

0 commit comments

Comments
 (0)