summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/Object/COFF.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Object/COFF.h b/llvm/include/llvm/Object/COFF.h
index 67afe35ae90..0f24c1b8e51 100644
--- a/llvm/include/llvm/Object/COFF.h
+++ b/llvm/include/llvm/Object/COFF.h
@@ -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 {
OpenPOWER on IntegriCloud