Make SectionKind::get() private.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77835 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/llvm-mc/llvm-mc.cpp b/tools/llvm-mc/llvm-mc.cpp
index 1d79752..c372547 100644
--- a/tools/llvm-mc/llvm-mc.cpp
+++ b/tools/llvm-mc/llvm-mc.cpp
@@ -193,7 +193,7 @@
Str.get()->SwitchSection(MCSection::Create("__TEXT,__text,"
"regular,pure_instructions",
false,
- SectionKind::get(SectionKind::Text),
+ SectionKind::getText(),
Ctx));
AsmParser Parser(SrcMgr, Ctx, *Str.get());