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
This commit is contained in:
Chris Lattner
2009-08-08 22:38:48 +00:00
parent b4dc13cab7
commit 0aac30195c
2 changed files with 5 additions and 5 deletions

View File

@@ -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(),