diff options
author | Chris Lattner <sabre@nondot.org> | 2010-05-08 19:54:22 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-05-08 19:54:22 +0000 |
commit | b54b9ddaaf2d258767d360583642ed1b91075fc9 (patch) | |
tree | 31663b236029e4a0009bd0b052f157a90c986453 /lib/MC/MCMachOStreamer.cpp | |
parent | 369252db2e517de6ccc9851395a9e7ae75d2130d (diff) |
break coff symbol definition stuff out into proper MCStreamer callbacks,
patch by Nathan Jeffords!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103346 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCMachOStreamer.cpp')
-rw-r--r-- | lib/MC/MCMachOStreamer.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/MC/MCMachOStreamer.cpp b/lib/MC/MCMachOStreamer.cpp index aa8b1ca1de..60b6c7c4e1 100644 --- a/lib/MC/MCMachOStreamer.cpp +++ b/lib/MC/MCMachOStreamer.cpp @@ -96,6 +96,18 @@ public: virtual void EmitSymbolDesc(MCSymbol *Symbol, unsigned DescValue); virtual void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size, unsigned ByteAlignment); + virtual void BeginCOFFSymbolDef(const MCSymbol *Symbol) { + assert(0 && "macho doesn't support this directive"); + } + virtual void EmitCOFFSymbolStorageClass(int StorageClass) { + assert(0 && "macho doesn't support this directive"); + } + virtual void EmitCOFFSymbolType(int Type) { + assert(0 && "macho doesn't support this directive"); + } + virtual void EndCOFFSymbolDef() { + assert(0 && "macho doesn't support this directive"); + } virtual void EmitELFSize(MCSymbol *Symbol, const MCExpr *Value) { assert(0 && "macho doesn't support this directive"); } |