diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-25 07:52:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-25 07:52:13 +0000 |
commit | 99328add833807f12a4950c7de29fb2a5df04703 (patch) | |
tree | 64d49704d26bb97c93e0a1b64a2cdaffa85f6d7d /lib/MC/MCMachOStreamer.cpp | |
parent | 5c78034bc80b7de88842c5455a9a3d1402defee7 (diff) |
emit the .size directive for global variables on ELF through
mcstreamer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94416 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCMachOStreamer.cpp')
-rw-r--r-- | lib/MC/MCMachOStreamer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/MC/MCMachOStreamer.cpp b/lib/MC/MCMachOStreamer.cpp index e559c65f2c..bd93f62a2f 100644 --- a/lib/MC/MCMachOStreamer.cpp +++ b/lib/MC/MCMachOStreamer.cpp @@ -124,6 +124,9 @@ public: virtual void EmitSymbolDesc(MCSymbol *Symbol, unsigned DescValue); virtual void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size, unsigned ByteAlignment); + virtual void EmitELFSize(MCSymbol *Symbol, const MCExpr *Value) { + assert(0 && "macho doesn't support this directive"); + } virtual void EmitLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size) { assert(0 && "macho doesn't support this directive"); } |