summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-11-09 23:42:07 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-11-09 23:42:07 +0000
commit9bb44a5ce816092153b740be7938ccf0b96a11fd (patch)
tree00956d72bf432a48a8297dfd7631148e239dfe7d /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parentbb4f8e6f7b9eea983f91d3c918301d02680d1ab2 (diff)
downloadbcm5719-llvm-9bb44a5ce816092153b740be7938ccf0b96a11fd.tar.gz
bcm5719-llvm-9bb44a5ce816092153b740be7938ccf0b96a11fd.zip
Fixed version of 118639 with an extra assert to catch similar problems
earlier. Implicit bool -> int conversions are evil! llvm-svn: 118651
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
-rw-r--r--llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
index 6e94a13a89b..944ed26f542 100644
--- a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+++ b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
@@ -262,7 +262,7 @@ getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind,
return getContext().getELFSection(SectionName,
getELFSectionType(SectionName, Kind),
- getELFSectionFlags(Kind), Kind, true);
+ getELFSectionFlags(Kind), Kind);
}
static const char *getSectionPrefixForUniqueGlobal(SectionKind Kind) {
OpenPOWER on IntegriCloud