Skip to content

Commit 941bd70

Browse files
Michael137labath
andauthored
fixup! remove unnecessary condition
Co-authored-by: Pavel Labath <[email protected]>
1 parent df30635 commit 941bd70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ static bool GetAttributes(DWARFUnit const *cu,
319319
switch (attr) {
320320
case DW_AT_sibling:
321321
case DW_AT_declaration:
322-
if (seen.size() > 1 && !is_first_die) {
322+
if (!is_first_die) {
323323
// This attribute doesn't make sense when combined with the DIE that
324324
// references this DIE. We know a DIE is referencing this DIE because
325325
// we've visited more than one DIE already.

0 commit comments

Comments
 (0)