[Lldb-commits] [lldb] [lldb] Teach FuncUnwinders about discontinuous functions (PR #133072)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Mar 26 05:59:12 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 1a7402d3d831940fc04cc0fb5731239744ce5435 b68ee05934778f77bf27f8b6716e1db564bd4f98 --extensions cpp,h -- lldb/include/lldb/Symbol/FuncUnwinders.h lldb/include/lldb/Symbol/UnwindTable.h lldb/source/Symbol/FuncUnwinders.cpp lldb/source/Symbol/UnwindTable.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 e62ea7b571..21ecd434d7 100644
--- a/lldb/source/Symbol/UnwindTable.cpp
+++ b/lldb/source/Symbol/UnwindTable.cpp
@@ -150,7 +150,7 @@ UnwindTable::GetFuncUnwindersContainingAddress(const Address &addr,
return nullptr;
auto func_unwinder_sp = std::make_shared<FuncUnwinders>(*this, addr, ranges);
- for (const AddressRange &range: ranges)
+ for (const AddressRange &range : ranges)
m_unwinds.emplace_hint(insert_pos, range.GetBaseAddress().GetFileAddress(),
func_unwinder_sp);
return func_unwinder_sp;
``````````
</details>
https://github.com/llvm/llvm-project/pull/133072
More information about the lldb-commits
mailing list