[llvm] r296410 - [MC] Implement the COFF directives in MCNullStreamer.
Dan Gohman via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 27 15:10:19 PST 2017
Author: djg
Date: Mon Feb 27 17:10:18 2017
New Revision: 296410
URL: http://llvm.org/viewvc/llvm-project?rev=296410&view=rev
Log:
[MC] Implement the COFF directives in MCNullStreamer.
This fixes -filetype=null errors introduced in r296403.
Modified:
llvm/trunk/lib/MC/MCNullStreamer.cpp
Modified: llvm/trunk/lib/MC/MCNullStreamer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCNullStreamer.cpp?rev=296410&r1=296409&r2=296410&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCNullStreamer.cpp (original)
+++ llvm/trunk/lib/MC/MCNullStreamer.cpp Mon Feb 27 17:10:18 2017
@@ -34,6 +34,10 @@ namespace {
void EmitZerofill(MCSection *Section, MCSymbol *Symbol = nullptr,
uint64_t Size = 0, unsigned ByteAlignment = 0) override {}
void EmitGPRel32Value(const MCExpr *Value) override {}
+ void BeginCOFFSymbolDef(const MCSymbol *Symbol) override {}
+ void EmitCOFFSymbolStorageClass(int StorageClass) override {}
+ void EmitCOFFSymbolType(int Type) override {}
+ void EndCOFFSymbolDef() override {}
};
}
More information about the llvm-commits
mailing list