[llvm] r204260 - COFF: Fix a typo
David Majnemer
david.majnemer at gmail.com
Wed Mar 19 13:16:23 PDT 2014
Author: majnemer
Date: Wed Mar 19 15:16:23 2014
New Revision: 204260
URL: http://llvm.org/viewvc/llvm-project?rev=204260&view=rev
Log:
COFF: Fix a typo
Introduced when I rebased my changes to use isReservedSectionNumber.
Modified:
llvm/trunk/include/llvm/Object/COFF.h
Modified: llvm/trunk/include/llvm/Object/COFF.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Object/COFF.h?rev=204260&r1=204259&r2=204260&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Object/COFF.h (original)
+++ llvm/trunk/include/llvm/Object/COFF.h Wed Mar 19 15:16:23 2014
@@ -207,7 +207,7 @@ struct coff_symbol {
return StorageClass == COFF::IMAGE_SYM_CLASS_EXTERNAL &&
getBaseType() == COFF::IMAGE_SYM_TYPE_NULL &&
getComplexType() == COFF::IMAGE_SYM_DTYPE_FUNCTION &&
- COFF::isReservedSectionNumber(SectionNumber);
+ !COFF::isReservedSectionNumber(SectionNumber);
}
bool isWeakExternal() const {
More information about the llvm-commits
mailing list