[llvm-branch-commits] [lldb] [lldb] Override UpdateBreakpointSites in ProcessGDBRemote to use MultiBreakpoint (PR #192988)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Apr 20 07:48:35 PDT 2026


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,h -- lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h --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/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
index e0a97a80a..67e3877f7 100644
--- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
@@ -6257,7 +6257,7 @@ ParseMultiBreakpointResponse(llvm::StringRef response_str) {
   llvm::SmallVector<llvm::StringRef> tokens;
 
   // KeepEmpty = false to ignore trailings `;` in the response.
-  response_str.split(tokens, ';', -1, /*KeepEmpty=*/ false);
+  response_str.split(tokens, ';', -1, /*KeepEmpty=*/false);
   for (llvm::StringRef token : tokens) {
     if (token == "OK") {
       results.push_back(std::nullopt);

``````````

</details>


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


More information about the llvm-branch-commits mailing list