mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
stub out PECOFF/MachO/ELF MCSection classes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78499 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -22,8 +22,26 @@ MCSection::MCSection(const StringRef &N, bool isDirective, SectionKind K,
|
||||
Entry = this;
|
||||
}
|
||||
|
||||
MCSection *MCSection::Create(const StringRef &Name, bool IsDirective,
|
||||
SectionKind K, MCContext &Ctx) {
|
||||
MCSection *MCSection::
|
||||
Create(const StringRef &Name, bool IsDirective, SectionKind K, MCContext &Ctx) {
|
||||
return new (Ctx) MCSection(Name, IsDirective, K, Ctx);
|
||||
}
|
||||
|
||||
|
||||
MCSectionELF *MCSectionELF::
|
||||
Create(const StringRef &Name, bool IsDirective, SectionKind K, MCContext &Ctx) {
|
||||
return new (Ctx) MCSectionELF(Name, IsDirective, K, Ctx);
|
||||
}
|
||||
|
||||
|
||||
MCSectionMachO *MCSectionMachO::
|
||||
Create(const StringRef &Name, bool IsDirective, SectionKind K, MCContext &Ctx) {
|
||||
return new (Ctx) MCSectionMachO(Name, IsDirective, K, Ctx);
|
||||
}
|
||||
|
||||
|
||||
MCSectionPECOFF *MCSectionPECOFF::
|
||||
Create(const StringRef &Name, bool IsDirective, SectionKind K, MCContext &Ctx) {
|
||||
return new (Ctx) MCSectionPECOFF(Name, IsDirective, K, Ctx);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user