[Lldb-commits] [lldb] [lldb] Parse DWARF CFI for discontinuous functions (PR #137006)

via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 23 08:46:43 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 HEAD~1 HEAD --extensions h,cpp -- lldb/include/lldb/Symbol/DWARFCallFrameInfo.h lldb/source/Symbol/DWARFCallFrameInfo.cpp lldb/source/Symbol/FuncUnwinders.cpp lldb/source/Symbol/UnwindTable.cpp lldb/source/Target/RegisterContextUnwind.cpp lldb/unittests/Symbol/TestDWARFCallFrameInfo.cpp
``````````

</details>

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

``````````diff
diff --git a/lldb/source/Symbol/UnwindTable.cpp b/lldb/source/Symbol/UnwindTable.cpp
index b61539c3a..3aca49569 100644
--- a/lldb/source/Symbol/UnwindTable.cpp
+++ b/lldb/source/Symbol/UnwindTable.cpp
@@ -150,7 +150,8 @@ UnwindTable::GetFuncUnwindersContainingAddress(const Address &addr,
   if (ranges.empty())
     return nullptr;
 
-  auto func_unwinder_sp = std::make_shared<FuncUnwinders>(*this, start_addr, ranges);
+  auto func_unwinder_sp =
+      std::make_shared<FuncUnwinders>(*this, start_addr, ranges);
   for (const AddressRange &range : ranges)
     m_unwinds.emplace_hint(insert_pos, range.GetBaseAddress().GetFileAddress(),
                            func_unwinder_sp);

``````````

</details>


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


More information about the lldb-commits mailing list