[Lldb-commits] [lldb] [lldb][lldb-dap] Added support for "WriteMemory" request. (PR #131820)

via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 18 08:16:35 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 351bcd9fe229121fac58e051f9a83dce2d3066ae 9a6d64373f45921c5b23460b12544869355ddd15 --extensions h,cpp -- lldb/tools/lldb-dap/Handler/WriteMemoryRequestHandler.cpp lldb/tools/lldb-dap/Handler/InitializeRequestHandler.cpp lldb/tools/lldb-dap/Handler/RequestHandler.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/Handler/WriteMemoryRequestHandler.cpp b/lldb/tools/lldb-dap/Handler/WriteMemoryRequestHandler.cpp
index 44e8355d67..dadee602f6 100644
--- a/lldb/tools/lldb-dap/Handler/WriteMemoryRequestHandler.cpp
+++ b/lldb/tools/lldb-dap/Handler/WriteMemoryRequestHandler.cpp
@@ -122,7 +122,7 @@ void WriteMemoryRequestHandler::operator()(
   int64_t countWrite = 0;
 
   output = llvm::encodeBase64(data64);
-  
+
   // write the memory
   if (!output.empty()) {
     lldb::SBProcess process = dap.target.GetProcess();

``````````

</details>


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


More information about the lldb-commits mailing list