diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-08 22:38:48 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-08 22:38:48 +0000 |
commit | ae37dfe9a34a5be05a5a6d78bf4ac665ec5fb1bf (patch) | |
tree | 233783290a6d11631596b59ac6d8298b5b9b5bf2 /tools/llvm-mc/llvm-mc.cpp | |
parent | b5f948cbb5694e348fcbe8511d09ee2dd3fd9845 (diff) | |
download | external_llvm-ae37dfe9a34a5be05a5a6d78bf4ac665ec5fb1bf.zip external_llvm-ae37dfe9a34a5be05a5a6d78bf4ac665ec5fb1bf.tar.gz external_llvm-ae37dfe9a34a5be05a5a6d78bf4ac665ec5fb1bf.tar.bz2 |
switch this to create coff sections for now, it doesn't really matter for
llvm-mc's purpose yet and we'll want to switch to creating semantic sections
at some point.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78509 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-mc/llvm-mc.cpp')
-rw-r--r-- | tools/llvm-mc/llvm-mc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-mc/llvm-mc.cpp b/tools/llvm-mc/llvm-mc.cpp index 7129dda..5c24a8d 100644 --- a/tools/llvm-mc/llvm-mc.cpp +++ b/tools/llvm-mc/llvm-mc.cpp @@ -186,7 +186,7 @@ static int AssembleInput(const char *ProgName) { OwningPtr<MCStreamer> Str(createAsmStreamer(Ctx, outs())); // FIXME: Target hook & command line option for initial section. - Str.get()->SwitchSection(MCSection::Create("__TEXT,__text," + Str.get()->SwitchSection(MCSectionCOFF::Create("__TEXT,__text," "regular,pure_instructions", false, SectionKind::getText(), |