[llvm] r211664 - MCNullStreamer.cpp: Roll back a few empty methods that have been marked as unreachable in MCStreamer.cpp.
NAKAMURA Takumi
geek4civic at gmail.com
Tue Jun 24 21:34:36 PDT 2014
Author: chapuni
Date: Tue Jun 24 23:34:36 2014
New Revision: 211664
URL: http://llvm.org/viewvc/llvm-project?rev=211664&view=rev
Log:
MCNullStreamer.cpp: Roll back a few empty methods that have been marked as unreachable in MCStreamer.cpp.
void EmitCOFFSecRel32(MCSymbol const *Symbol) override {}
void EmitGPRel32Value(const MCExpr *Value) override {}
It should fix crash like "llc -mtriple=i686-cygwin -filetype=null".
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=211664&r1=211663&r2=211664&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCNullStreamer.cpp (original)
+++ llvm/trunk/lib/MC/MCNullStreamer.cpp Tue Jun 24 23:34:36 2014
@@ -29,11 +29,12 @@ namespace {
return true;
}
-
+ void EmitCOFFSecRel32(MCSymbol const *Symbol) override {}
void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
unsigned ByteAlignment) override {}
void EmitZerofill(const MCSection *Section, MCSymbol *Symbol = nullptr,
uint64_t Size = 0, unsigned ByteAlignment = 0) override {}
+ void EmitGPRel32Value(const MCExpr *Value) override {}
void EmitInstruction(const MCInst &Inst, const MCSubtargetInfo&) override {}
};
More information about the llvm-commits
mailing list