[Lldb-commits] [PATCH] D106355: [DWARF5] Only fallback to manual index if no entry was found
Kim-Anh Tran via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Jul 28 00:19:58 PDT 2021
kimanh marked an inline comment as not done.
kimanh added a comment.
Thanks once more for reviewing! If I should rename the variable (or anything else), let me know! Otherwise, could you help me to land this change (since I do not have committer rights)?
================
Comment at: lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp:136
continue;
if (entry_or->getCUOffset() != cu_offset)
continue;
----------------
jankratochvil wrote:
> It would be nice to reverse these two comparisons for `found_entry_for_cu` but `getCUOffset()` is much more expensive. Just saying.
>
Ah, yes, that's true. I could call it `found_variable_entry_for_cu` though?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D106355/new/
https://reviews.llvm.org/D106355
More information about the lldb-commits
mailing list