Fix typo: using && instead of & when evaluating a mask
Summary: Reported by coverity, I don't know how to provide a test. Reviewers: zturner Subscribers: lldb-commits, emaste Differential Revision: https://reviews.llvm.org/D34550 llvm-svn: 306134
This commit is contained in:
@@ -1693,7 +1693,7 @@ size_t ObjectFileELF::GetSectionHeaderInfo(SectionHeaderColl §ion_headers,
|
||||
// ABI Mask doesn't cover N32 and N64 ABI.
|
||||
if (header.e_ident[EI_CLASS] == llvm::ELF::ELFCLASS64)
|
||||
arch_flags |= lldb_private::ArchSpec::eMIPSABI_N64;
|
||||
else if (header.e_flags && llvm::ELF::EF_MIPS_ABI2)
|
||||
else if (header.e_flags & llvm::ELF::EF_MIPS_ABI2)
|
||||
arch_flags |= lldb_private::ArchSpec::eMIPSABI_N32;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user