commit | 34be396a12b00a95a1353c356d64868798ea3098 | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Tue Nov 09 23:42:07 2010 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Tue Nov 09 23:42:07 2010 +0000 |
tree | a7abc3bc096ccb3498ca3018d94718052860cf54 | |
parent | 5fa22a19750c082ff161db1702ebe96dd2a787e7 [diff] [blame] |
Fixed version of 118639 with an extra assert to catch similar problems earlier. Implicit bool -> int conversions are evil! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118651 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/TargetLoweringObjectFileImpl.cpp b/lib/CodeGen/TargetLoweringObjectFileImpl.cpp index 6e94a13..944ed26 100644 --- a/lib/CodeGen/TargetLoweringObjectFileImpl.cpp +++ b/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
@@ -262,7 +262,7 @@ return getContext().getELFSection(SectionName, getELFSectionType(SectionName, Kind), - getELFSectionFlags(Kind), Kind, true); + getELFSectionFlags(Kind), Kind); } static const char *getSectionPrefixForUniqueGlobal(SectionKind Kind) {