File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -438,7 +438,7 @@ SBError Driver::ProcessArgs(const opt::InputArgList &args, bool &exiting) {
438438inline std::wstring GetPathToExecutableW () {
439439 // Iterate until we reach the Windows API maximum path length (32,767).
440440 std::vector<WCHAR> buffer;
441- buffer.resize (MAX_PATH/* =260*/ );
441+ buffer.resize (MAX_PATH /* =260*/ );
442442 while (buffer.size () < 32767 ) {
443443 if (GetModuleFileNameW (NULL , buffer.data (), buffer.size ()) < buffer.size ())
444444 return std::wstring (buffer.begin (), buffer.end ());
@@ -448,12 +448,12 @@ inline std::wstring GetPathToExecutableW() {
448448}
449449
450450// / Resolve the full path of the directory defined by
451- // / LLDB_PYTHON_DLL_RELATIVE_PATH. If it exists, add it to the list of DLL search
452- // / directories.
451+ // / LLDB_PYTHON_DLL_RELATIVE_PATH. If it exists, add it to the list of DLL
452+ // / search directories.
453453void AddPythonDLLToSearchPath () {
454454 std::wstring modulePath = GetPathToExecutableW ();
455455 if (modulePath.empty ()) {
456- WithColor::error () << " Unable to find python: " << GetLastError () << ' \n ' ;
456+ llvm::errs () << " error: unable to find python.dll. " << ' \n ' ;
457457 return ;
458458 }
459459
You can’t perform that action at this time.
0 commit comments