Skip to content

Commit df30635

Browse files
committed
fixup! fixup documentation
1 parent 638731d commit df30635

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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.
285288
static bool GetAttributes(DWARFUnit const *cu,
286289
llvm::SmallVector<DWARFDIE> &worklist,
287290
llvm::SmallSet<DWARFDebugInfoEntry const *, 3> &seen,

lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)