File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
lldb/source/Plugins/SymbolFile/DWARF Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -282,6 +282,9 @@ bool DWARFDebugInfoEntry::GetDIENamesAndRanges(
282282}
283283
284284// / Helper for the public \ref DWARFDebugInfoEntry::GetAttributes API.
285+ // / Adds all attributes of the DIE at the top of the \c worklist to the
286+ // / \c attributes list. Specifcations and abstract origins are added
287+ // / to the \c worklist if the referenced DIE has not been seen before.
285288static bool GetAttributes (DWARFUnit const *cu,
286289 llvm::SmallVector<DWARFDIE> &worklist,
287290 llvm::SmallSet<DWARFDebugInfoEntry const *, 3 > &seen,
Original file line number Diff line number Diff line change @@ -53,9 +53,9 @@ class DWARFDebugInfoEntry {
5353
5454 using Recurse = DWARFBaseDIE::Recurse;
5555
56- // / Get all attribute values for a given DIE, including following any
57- // / specification or abstract origin attributes and including those in the
58- // / results .
56+ // / Get all attribute values for a given DIE, optionally following any
57+ // / specifications and abstract origins and including their attributes
58+ // / in the result too .
5959 // /
6060 // / When following specifications/abstract origins, the attributes
6161 // / on the referring DIE are guaranteed to be visited before the attributes of
You can’t perform that action at this time.
0 commit comments