summaryrefslogtreecommitdiff
path: root/tools/llvm-mc
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-02 00:02:44 +0000
committerChris Lattner <sabre@nondot.org>2009-08-02 00:02:44 +0000
commit1ef9be28831ad2d0b16d9934dc65c98e17b429a7 (patch)
tree6fc238a615222c9631acb57c24993b0be18ad744 /tools/llvm-mc
parent2798119ab4d7e0b42812b3acdf37821f40dee627 (diff)
downloadllvm-1ef9be28831ad2d0b16d9934dc65c98e17b429a7.tar.gz
llvm-1ef9be28831ad2d0b16d9934dc65c98e17b429a7.tar.bz2
llvm-1ef9be28831ad2d0b16d9934dc65c98e17b429a7.tar.xz
Make SectionKind::get() private.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77835 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-mc')
-rw-r--r--tools/llvm-mc/llvm-mc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-mc/llvm-mc.cpp b/tools/llvm-mc/llvm-mc.cpp
index 1d79752196..c372547072 100644
--- a/tools/llvm-mc/llvm-mc.cpp
+++ b/tools/llvm-mc/llvm-mc.cpp
@@ -193,7 +193,7 @@ static int AssembleInput(const char *ProgName) {
Str.get()->SwitchSection(MCSection::Create("__TEXT,__text,"
"regular,pure_instructions",
false,
- SectionKind::get(SectionKind::Text),
+ SectionKind::getText(),
Ctx));
AsmParser Parser(SrcMgr, Ctx, *Str.get());