[Lldb-commits] [PATCH] D135979: [lldb][NFCish] Move DWARFDebugInfoEntry::GetQualifiedName() into DWARFASTParserClang
Shafik Yaghmour via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 14 16:50:08 PDT 2022
shafik added inline comments.
================
Comment at: lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp:1534
+ std::string qualified_name;
+ DWARFDIE parent_decl_ctx_die = die.GetParentDeclContextDIE();
+ // TODO: change this to get the correct decl context parent....
----------------
So it looks like you can do `SymbolFileDWARF::GetDWARFDeclContext(...)` and `DWARFDeclContext` has `GetQualifiedName()` which I think is doing what you are doing below and maybe handles more cases.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135979/new/
https://reviews.llvm.org/D135979
More information about the lldb-commits
mailing list