[Lldb-commits] [PATCH] D112310: [lldb/DWARF] Don't create lldb_private::Functions for gc'ed DW_TAG_subprograms
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Oct 26 00:57:24 PDT 2021
labath added inline comments.
================
Comment at: lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp:866
+ // discontiguous)
+ AddressRange func_range;
+ lldb::addr_t lowest_func_addr = ranges.GetMinRangeBase(0);
----------------
shafik wrote:
> You declare `func_range` here but don't use it till the next block, did you mean to use it in this block?
This probably started out as a single block, but I later split it in two when it got more complex. I'll move the declaration further down.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112310/new/
https://reviews.llvm.org/D112310
More information about the lldb-commits
mailing list