[lldb] [llvm] [lldb] Change lldb's breakpoint detection behavior [WIP] (PR #105594)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 30 14:05:52 PST 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 62f6d637c015a6fcf6e493e25e91f5d833da999f a0ba821cf6f0a20e3cdc8de196b27fb85e0399d1 --extensions h,c,cpp -- lldb/test/API/functionalities/thread/finish-from-empty-func/main.c lldb/include/lldb/Target/Thread.h lldb/source/Plugins/Process/Utility/StopInfoMachException.cpp lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp lldb/source/Plugins/Process/scripted/ScriptedThread.cpp lldb/source/Target/StopInfo.cpp lldb/source/Target/Thread.cpp
``````````

</details>

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

``````````diff
diff --git a/lldb/test/API/functionalities/thread/finish-from-empty-func/main.c b/lldb/test/API/functionalities/thread/finish-from-empty-func/main.c
index 202bca4060..bc66a548a8 100644
--- a/lldb/test/API/functionalities/thread/finish-from-empty-func/main.c
+++ b/lldb/test/API/functionalities/thread/finish-from-empty-func/main.c
@@ -1,8 +1,8 @@
 #include <stdio.h>
-void done() { }
+void done() {}
 int main() {
-  puts ("in main");
+  puts("in main");
   done();
-  puts ("leaving main");
+  puts("leaving main");
   return 0;
 }

``````````

</details>


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


More information about the llvm-commits mailing list