[Lldb-commits] [lldb] [LLDB] Show exit code on Windows if process can't launch (PR #141290)

via lldb-commits lldb-commits at lists.llvm.org
Fri May 23 13:06:57 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 HEAD~1 HEAD --extensions cpp,c -- lldb/test/API/windows/launch/missing-dll/dummy_dll.c lldb/test/API/windows/launch/missing-dll/main.c lldb/source/Plugins/Process/Windows/Common/ProcessDebugger.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/lldb/test/API/windows/launch/missing-dll/main.c b/lldb/test/API/windows/launch/missing-dll/main.c
index c1e0d3222..bf773cd94 100644
--- a/lldb/test/API/windows/launch/missing-dll/main.c
+++ b/lldb/test/API/windows/launch/missing-dll/main.c
@@ -1,6 +1,6 @@
 __declspec(dllimport) void SomeFunction(void);
 
 int main(void) {
-    SomeFunction();
-    return 0;
+  SomeFunction();
+  return 0;
 }

``````````

</details>


https://github.com/llvm/llvm-project/pull/141290


More information about the lldb-commits mailing list