[Lldb-commits] [lldb] [lldb-da] Refactoring lldb-dap port listening mode to allow multiple connections. (PR #116392)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Nov 15 07:08:51 PST 2024
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 0fb8fac5d6c10610574e6e472670823eaff0c949 acfdb2da30b7a49711c3d1ec3be3c9282d6c51b4 --extensions h,c,cpp -- lldb/test/API/tools/lldb-dap/server/main.c lldb/tools/lldb-dap/DAP.cpp lldb/tools/lldb-dap/DAP.h lldb/tools/lldb-dap/OutputRedirector.cpp lldb/tools/lldb-dap/OutputRedirector.h lldb/tools/lldb-dap/lldb-dap.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/tools/lldb-dap/DAP.cpp b/lldb/tools/lldb-dap/DAP.cpp
index 8998036fbe..a1e4159965 100644
--- a/lldb/tools/lldb-dap/DAP.cpp
+++ b/lldb/tools/lldb-dap/DAP.cpp
@@ -34,8 +34,8 @@ namespace lldb_dap {
DAP::DAP(llvm::StringRef path, std::shared_ptr<std::ofstream> log,
ReplMode repl_mode, std::vector<std::string> pre_init_commands)
- : debug_adaptor_path(path), broadcaster("lldb-dap"),
- log(log), exception_breakpoints(), pre_init_commands(pre_init_commands),
+ : debug_adaptor_path(path), broadcaster("lldb-dap"), log(log),
+ exception_breakpoints(), pre_init_commands(pre_init_commands),
focus_tid(LLDB_INVALID_THREAD_ID), stop_at_entry(false), is_attach(false),
enable_auto_variable_summaries(false),
enable_synthetic_child_debugging(false),
``````````
</details>
https://github.com/llvm/llvm-project/pull/116392
More information about the lldb-commits
mailing list