forked from OSchip/llvm-project
[DWARF] Minor code style modification, no functionality change.
llvm-svn: 309240
This commit is contained in:
parent
acd632d338
commit
73e1796da2
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue