commit | 02b6bbd0a2fd52fa60fa3c4377108f0b1cba7b85 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sat Aug 01 18:25:49 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sat Aug 01 18:25:49 2009 +0000 |
tree | 950136749ff57f13b332aabbba572695d4dcc8e7 | |
parent | 7749bbb89a9be95817c6bab0c0e40103bcb02003 [diff] [blame] |
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
diff --git a/lib/Target/TargetLoweringObjectFile.cpp b/lib/Target/TargetLoweringObjectFile.cpp index 9ba12bb..025e3f2 100644 --- a/lib/Target/TargetLoweringObjectFile.cpp +++ b/lib/Target/TargetLoweringObjectFile.cpp
@@ -249,7 +249,7 @@ 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); }