[Lldb-commits] [lldb] [lldb][windows] print an error if python.dll is not in the DLL search path (PR #164893)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 24 14:33:54 PDT 2025
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff origin/main HEAD --extensions cpp -- lldb/tools/driver/Driver.cpp --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/tools/driver/Driver.cpp b/lldb/tools/driver/Driver.cpp
index 7fefa537b..96d9fc622 100644
--- a/lldb/tools/driver/Driver.cpp
+++ b/lldb/tools/driver/Driver.cpp
@@ -502,7 +502,7 @@ void SetupPythonRuntimeLibrary() {
return;
#endif
llvm::errs() << "error: unable to find "
- << LLDB_PYTHON_RUNTIME_LIBRARY_FILENAME << ".\n";
+ << LLDB_PYTHON_RUNTIME_LIBRARY_FILENAME << ".\n";
return;
#elif defined(LLDB_PYTHON_DLL_RELATIVE_PATH)
if (!AddPythonDLLToSearchPath())
``````````
</details>
https://github.com/llvm/llvm-project/pull/164893
More information about the lldb-commits
mailing list