[DWARF] Minor code style modification, no functionality change.

llvm-svn: 309240
This commit is contained in:
Spyridoula Gravani 2017-07-27 00:59:33 +00:00
parent acd632d338
commit 73e1796da2
1 changed files with 5 additions and 8 deletions

View File

@ -418,15 +418,12 @@ DWARFDie DWARFContext::getDIEForOffset(uint32_t Offset) {
bool DWARFContext::verify(raw_ostream &OS, DIDumpType DumpType) {
bool Success = true;
DWARFVerifier verifier(OS, *this);
Success &= verifier.handleDebugAbbrev();
if (DumpType == DIDT_All || DumpType == DIDT_Info) {
if (!verifier.handleDebugInfo())
Success = false;
}
if (DumpType == DIDT_All || DumpType == DIDT_Line) {
if (!verifier.handleDebugLine())
Success = false;
}
if (DumpType == DIDT_All || DumpType == DIDT_Info)
Success &= verifier.handleDebugInfo();
if (DumpType == DIDT_All || DumpType == DIDT_Line)
Success &= verifier.handleDebugLine();
Success &= verifier.handleAccelTables();
return Success;
}