In D134378, we'll need the clang AST to be able to construct the qualified in some cases.
This makes logging in one place slightly less informative.
Paths
| Differential D135979
[lldb][NFCish] Move DWARFDebugInfoEntry::GetQualifiedName() into DWARFASTParserClang ClosedPublic Authored by aeubanks on Oct 14 2022, 11:37 AM.
Details Summary In D134378, we'll need the clang AST to be able to construct the qualified in some cases. This makes logging in one place slightly less informative.
Diff Detail
Event TimelineComment Actions Looked like this was a fairly uncontroversial part of the other patch, so I feel confident approving it - but welcome to wait for a second opinion from more lldb-affiliated developers. This revision is now accepted and ready to land.Oct 14 2022, 12:13 PM Michael137 added inline comments.
Closed by commit rG8a98287f255b: [lldb][NFCish] Move DWARFDebugInfoEntry::GetQualifiedName() into… (authored by aeubanks). · Explain WhyOct 14 2022, 3:37 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 467944 lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h
lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.h
lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp
lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h
lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
|
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.