summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit95bad379a9937d290d9f31f23fbc46b9949e02a3 (patch)
treef9806b26d4a229c00838ccd573f561460532667d /llvm/lib/Target/TargetLoweringObjectFile.cpp
parent2e6da95a601f95c3773445a0727b195874652a61 (diff)
downloadbcm5719-llvm-95bad379a9937d290d9f31f23fbc46b9949e02a3.tar.gz
bcm5719-llvm-95bad379a9937d290d9f31f23fbc46b9949e02a3.zip
All MCSections are now required to have a SectionKind.
llvm-svn: 77787
Diffstat (limited to 'llvm/lib/Target/TargetLoweringObjectFile.cpp')
-rw-r--r--llvm/lib/Target/TargetLoweringObjectFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/TargetLoweringObjectFile.cpp b/llvm/lib/Target/TargetLoweringObjectFile.cpp
index 9ba12bb2184..025e3f21b7c 100644
--- a/llvm/lib/Target/TargetLoweringObjectFile.cpp
+++ b/llvm/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);
}
OpenPOWER on IntegriCloud