[Lldb-commits] [PATCH] D106270: [DWARF5] Fix offset check when using .debug_names

Shafik Yaghmour via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 26 16:20:59 PDT 2021


shafik added inline comments.


================
Comment at: lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp:3024
-        m_index->GetGlobalVariables(
-            dwarf_cu->GetNonSkeletonUnit(), [&](DWARFDIE die) {
-              VariableSP var_sp(
----------------
So is the problem that calling `GetNonSkeletonUnit()` does not work here b/c in `DebugNamesDWARFIndex` case we don't want this but in the other cases we do? 




Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106270/new/

https://reviews.llvm.org/D106270



More information about the lldb-commits mailing list