diff options
author | Eric Christopher <echristo@apple.com> | 2010-05-14 01:50:28 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2010-05-14 01:50:28 +0000 |
commit | 482eba054ab3543ee0e1f453d3d6441092f4b76d (patch) | |
tree | ccb3182f3e97fae2f37f3b70207f1bcbd917cae1 /lib/MC/MCMachOStreamer.cpp | |
parent | c260a3e59af7d1b283ecd513523ccbd6de574f30 (diff) |
Add AsmParser support for darwin tbss directive.
Nothing uses this yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103757 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCMachOStreamer.cpp')
-rw-r--r-- | lib/MC/MCMachOStreamer.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/MC/MCMachOStreamer.cpp b/lib/MC/MCMachOStreamer.cpp index 62abf745ba..b27f151f43 100644 --- a/lib/MC/MCMachOStreamer.cpp +++ b/lib/MC/MCMachOStreamer.cpp @@ -126,6 +126,8 @@ public: } virtual void EmitZerofill(const MCSection *Section, MCSymbol *Symbol = 0, unsigned Size = 0, unsigned ByteAlignment = 0); + virtual void EmitTBSSSymbol(MCSymbol *Symbol, uint64_t Size, + unsigned ByteAlignment = 0); virtual void EmitBytes(StringRef Data, unsigned AddrSpace); virtual void EmitValue(const MCExpr *Value, unsigned Size,unsigned AddrSpace); virtual void EmitGPRel32Value(const MCExpr *Value) { @@ -337,6 +339,11 @@ void MCMachOStreamer::EmitZerofill(const MCSection *Section, MCSymbol *Symbol, SectData.setAlignment(ByteAlignment); } +void MCMachOStreamer::EmitTBSSSymbol(MCSymbol *Symbol, uint64_t Size, + unsigned ByteAlignment) { + assert(false && "Implement me!"); +} + void MCMachOStreamer::EmitBytes(StringRef Data, unsigned AddrSpace) { getOrCreateDataFragment()->getContents().append(Data.begin(), Data.end()); } |