[Lldb-commits] [lldb] [lldb] Support discontinuous functions in another Disasembler overload (PR #130987)

via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 12 09:30:56 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 1fe702fdecf79121346fe5374b418bc1dbf9362c 1f79d61274bb04aa37e043a7b33a1711dc66361d --extensions cpp -- lldb/source/Core/Disassembler.cpp
``````````

</details>

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

``````````diff
diff --git a/lldb/source/Core/Disassembler.cpp b/lldb/source/Core/Disassembler.cpp
index 9b1d4e9316..0afc593fdb 100644
--- a/lldb/source/Core/Disassembler.cpp
+++ b/lldb/source/Core/Disassembler.cpp
@@ -556,8 +556,8 @@ bool Disassembler::Disassemble(Debugger &debugger, const ArchSpec &arch,
       frame.GetSymbolContext(eSymbolContextFunction | eSymbolContextSymbol));
   if (sc.function) {
     if (DisassemblerSP disasm_sp = DisassembleRange(
-        arch, nullptr, nullptr, nullptr, nullptr, *frame.CalculateTarget(),
-        sc.function->GetAddressRanges())) {
+            arch, nullptr, nullptr, nullptr, nullptr, *frame.CalculateTarget(),
+            sc.function->GetAddressRanges())) {
       disasm_sp->PrintInstructions(debugger, arch, frame, false, 0, 0, strm);
       return true;
     }

``````````

</details>


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


More information about the lldb-commits mailing list