forked from OSchip/llvm-project
[nfc] [lldb] DWARFDebugInfoEntry::Extract(): reindent
This commit is contained in:
parent
61c29321b3
commit
1b8fdaacf4
|
@ -49,7 +49,12 @@ bool DWARFDebugInfoEntry::Extract(const DWARFDataExtractor &data,
|
|||
// assert (fixed_form_sizes); // For best performance this should be
|
||||
// specified!
|
||||
|
||||
if (m_abbr_idx) {
|
||||
if (m_abbr_idx == 0) {
|
||||
m_tag = llvm::dwarf::DW_TAG_null;
|
||||
m_has_children = false;
|
||||
return true; // NULL debug tag entry
|
||||
}
|
||||
|
||||
lldb::offset_t offset = *offset_ptr;
|
||||
const auto *abbrevDecl = GetAbbreviationDeclarationPtr(cu);
|
||||
if (abbrevDecl == nullptr) {
|
||||
|
@ -197,13 +202,6 @@ bool DWARFDebugInfoEntry::Extract(const DWARFDataExtractor &data,
|
|||
}
|
||||
*offset_ptr = offset;
|
||||
return true;
|
||||
} else {
|
||||
m_tag = llvm::dwarf::DW_TAG_null;
|
||||
m_has_children = false;
|
||||
return true; // NULL debug tag entry
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
static DWARFRangeList GetRangesOrReportError(DWARFUnit &unit,
|
||||
|
|
Loading…
Reference in New Issue