diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-08-01 18:25:49 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-08-01 18:25:49 +0000 |
| commit | 95bad379a9937d290d9f31f23fbc46b9949e02a3 (patch) | |
| tree | f9806b26d4a229c00838ccd573f561460532667d /llvm/tools/llvm-mc/AsmParser.cpp | |
| parent | 2e6da95a601f95c3773445a0727b195874652a61 (diff) | |
| download | bcm5719-llvm-95bad379a9937d290d9f31f23fbc46b9949e02a3.tar.gz bcm5719-llvm-95bad379a9937d290d9f31f23fbc46b9949e02a3.zip | |
All MCSections are now required to have a SectionKind.
llvm-svn: 77787
Diffstat (limited to 'llvm/tools/llvm-mc/AsmParser.cpp')
| -rw-r--r-- | llvm/tools/llvm-mc/AsmParser.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/tools/llvm-mc/AsmParser.cpp b/llvm/tools/llvm-mc/AsmParser.cpp index 19eaf353272..46103ad53b6 100644 --- a/llvm/tools/llvm-mc/AsmParser.cpp +++ b/llvm/tools/llvm-mc/AsmParser.cpp @@ -662,7 +662,7 @@ bool AsmParser::ParseDirectiveDarwinSection() { // FIXME: Arch specific. MCSection *S = Ctx.GetSection(Section); if (S == 0) - S = MCSection::Create(Section, Ctx); + S = MCSection::Create(Section, SectionKind(), Ctx); Out.SwitchSection(S); return false; @@ -683,7 +683,7 @@ bool AsmParser::ParseDirectiveSectionSwitch(const char *Section, // FIXME: Arch specific. MCSection *S = Ctx.GetSection(Section); if (S == 0) - S = MCSection::Create(Section, Ctx); + S = MCSection::Create(Section, SectionKind(), Ctx); Out.SwitchSection(S); return false; @@ -1074,7 +1074,7 @@ bool AsmParser::ParseDirectiveDarwinZerofill() { // FIXME: Arch specific. MCSection *S = Ctx.GetSection(Section); if (S == 0) - S = MCSection::Create(Section, Ctx); + S = MCSection::Create(Section, SectionKind(), Ctx); // Create the zerofill section but no symbol Out.EmitZerofill(S); @@ -1134,7 +1134,7 @@ bool AsmParser::ParseDirectiveDarwinZerofill() { // FIXME: Arch specific. MCSection *S = Ctx.GetSection(Section); if (S == 0) - S = MCSection::Create(Section, Ctx); + S = MCSection::Create(Section, SectionKind(), Ctx); // Create the zerofill Symbol with Size and Pow2Alignment Out.EmitZerofill(S, Sym, Size, Pow2Alignment); |

