Revert my previous patch to make the valgrind bots happy.
[oota-llvm.git] / include / llvm / MC / MCStreamer.h
index d89ee9ae12603b0c873bd77aa8d30dcfe1726319..d4c759d248ce78a530788968ccca85aec671d6f4 100644 (file)
@@ -249,6 +249,12 @@ namespace llvm {
     virtual void EmitIntValue(uint64_t Value, unsigned Size,
                               unsigned AddrSpace = 0);
 
+    /// EmitAbsValue - Emit the Value, but try to avoid relocations. On MachO
+    /// this is done by producing
+    /// foo = value
+    /// .long foo
+    void EmitAbsValue(const MCExpr *Value, unsigned Size,
+                      unsigned AddrSpace = 0);
 
     virtual void EmitULEB128Value(const MCExpr *Value,
                                   unsigned AddrSpace = 0) = 0;