[Lldb-commits] [lldb] [lldb][DWARF] Change GetAttributes to always visit current DIE before recursing (PR #123261)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Fri Jan 17 02:00:24 PST 2025
================
@@ -309,10 +319,10 @@ void DWARFDebugInfoEntry::GetAttributes(DWARFUnit *cu,
switch (attr) {
case DW_AT_sibling:
case DW_AT_declaration:
- if (curr_depth > 0) {
+ if (seen.size() > 1 && !is_first_die) {
----------------
Michael137 wrote:
Good point!
https://github.com/llvm/llvm-project/pull/123261
More information about the lldb-commits
mailing list