[Lldb-commits] [PATCH] D34550: Fix typo: using && instead of & when evaluating a mask
Mehdi AMINI via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Jun 23 11:21:00 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL306134: Fix typo: using && instead of & when evaluating a mask (authored by mehdi_amini).
Changed prior to commit:
https://reviews.llvm.org/D34550?vs=103690&id=103752#toc
Repository:
rL LLVM
https://reviews.llvm.org/D34550
Files:
lldb/trunk/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
Index: lldb/trunk/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
===================================================================
--- lldb/trunk/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
+++ lldb/trunk/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
@@ -1693,7 +1693,7 @@
// 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;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34550.103752.patch
Type: text/x-patch
Size: 702 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20170623/2597f0d9/attachment.bin>
More information about the lldb-commits
mailing list