[Lldb-commits] [lldb] [lldb] Support disassembling discontinuous functions (PR #126505)

via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 10 04:05:36 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 aebe6c5d7f88a05a29ef6c643482ca7eaf994b19 96957acfb6847343df50a641c6de03199c924f72 --extensions cpp,h -- lldb/source/Commands/CommandObjectDisassemble.cpp lldb/source/Commands/CommandObjectDisassemble.h lldb/source/Symbol/SymbolContext.cpp
``````````

</details>

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

``````````diff
diff --git a/lldb/source/Commands/CommandObjectDisassemble.cpp b/lldb/source/Commands/CommandObjectDisassemble.cpp
index d116188966..f66c67577c 100644
--- a/lldb/source/Commands/CommandObjectDisassemble.cpp
+++ b/lldb/source/Commands/CommandObjectDisassemble.cpp
@@ -250,7 +250,7 @@ CommandObjectDisassemble::CheckRangeSize(std::vector<AddressRange> ranges,
 
   StreamString msg;
   msg << "Not disassembling " << what << " because it is very large ";
-  for (const AddressRange &r: ranges)
+  for (const AddressRange &r : ranges)
     r.Dump(&msg, &GetTarget(), Address::DumpStyleLoadAddress,
            Address::DumpStyleFileAddress);
   msg << ". To disassemble specify an instruction count limit, start/stop "

``````````

</details>


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


More information about the lldb-commits mailing list