[Lldb-commits] [lldb] [lldb] Strip metadata bits on function pointer in IndirectCallEdge::GetCallee (PR #196204)
via lldb-commits
lldb-commits at lists.llvm.org
Thu May 7 11:01:38 PDT 2026
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 origin/main HEAD --extensions cpp -- lldb/source/Symbol/Function.cpp --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/source/Symbol/Function.cpp b/lldb/source/Symbol/Function.cpp
index 23ec058ae..9b9dd3fbc 100644
--- a/lldb/source/Symbol/Function.cpp
+++ b/lldb/source/Symbol/Function.cpp
@@ -237,7 +237,7 @@ Function *IndirectCallEdge::GetCallee(ModuleList &images,
if (auto *process = exe_ctx.GetProcessPtr()) {
raw_addr = process->FixCodeAddress(raw_addr);
- } else {
+ } else {
LLDB_LOG(log, "IndirectCallEdge: No Process available, unable to call "
"FixCodeAddress on function pointer");
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/196204
More information about the lldb-commits
mailing list