forked from OSchip/llvm-project
Use continue to reduce indentation. NFC.
llvm-svn: 244480
This commit is contained in:
parent
c56a9132d0
commit
fc2b6fa31c
|
@ -369,9 +369,13 @@ PrinterContext<ET>::FindExceptionTable(unsigned IndexSectionIndex,
|
|||
/// table.
|
||||
|
||||
for (const Elf_Shdr &Sec : ELF->sections()) {
|
||||
if (Sec.sh_type == ELF::SHT_REL && Sec.sh_info == IndexSectionIndex) {
|
||||
if (Sec.sh_type != ELF::SHT_REL || Sec.sh_info != IndexSectionIndex)
|
||||
continue;
|
||||
|
||||
for (const Elf_Rel &R : ELF->rels(&Sec)) {
|
||||
if (R.r_offset == static_cast<unsigned>(IndexTableOffset)) {
|
||||
if (R.r_offset != static_cast<unsigned>(IndexTableOffset))
|
||||
continue;
|
||||
|
||||
typename object::ELFFile<ET>::Elf_Rela RelA;
|
||||
RelA.r_offset = R.r_offset;
|
||||
RelA.r_info = R.r_info;
|
||||
|
@ -386,8 +390,6 @@ PrinterContext<ET>::FindExceptionTable(unsigned IndexSectionIndex,
|
|||
return *Ret;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue