Avoid code duplication in the many unsupported EmitGPRel32Value implementations.
[oota-llvm.git] / lib / MC / MCStreamer.cpp
index 69318ea354307998b44bfd6fd543ef5e646f5baa..7921957f5423ede410bba54f024cb45d61905e73 100644 (file)
@@ -55,6 +55,10 @@ void MCStreamer::EmitSymbolValue(const MCSymbol *Sym, unsigned Size,
   EmitValue(MCSymbolRefExpr::Create(Sym, getContext()), Size, AddrSpace);
 }
 
+void MCStreamer::EmitGPRel32Value(const MCExpr *Value) {
+  report_fatal_error("unsupported directive in streamer");
+}
+
 /// EmitFill - Emit NumBytes bytes worth of the value specified by
 /// FillValue.  This implements directives such as '.space'.
 void MCStreamer::EmitFill(uint64_t NumBytes, uint8_t FillValue,