aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/TargetLoweringObjectFile.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-01 18:25:49 +0000
committerChris Lattner <sabre@nondot.org>2009-08-01 18:25:49 +0000
commit4a7bc1e5aafbb543a9a535bce54fc62d18723b35 (patch)
tree950136749ff57f13b332aabbba572695d4dcc8e7 /lib/Target/TargetLoweringObjectFile.cpp
parentf67e84edefe240bb1d30cfb63cf46f2d5631a072 (diff)
All MCSections are now required to have a SectionKind.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77787 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetLoweringObjectFile.cpp')
-rw-r--r--lib/Target/TargetLoweringObjectFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/TargetLoweringObjectFile.cpp b/lib/Target/TargetLoweringObjectFile.cpp
index 9ba12bb218..025e3f21b7 100644
--- a/lib/Target/TargetLoweringObjectFile.cpp
+++ b/lib/Target/TargetLoweringObjectFile.cpp
@@ -249,7 +249,7 @@ getOrCreateSection(const char *Name, bool isDirective,
if (MCSection *S = Ctx->GetSection(Name))
return S;
SectionKind K = SectionKind::get(Kind, false /*weak*/, !isDirective);
- return MCSectionWithKind::Create(Name, K, *Ctx);
+ return MCSection::Create(Name, K, *Ctx);
}