Fix .debug_range for linux. Patch by Krister Wombell.
[oota-llvm.git] / include / llvm / CodeGen / AsmPrinter.h
index 62a18fe2511b4caf064becc793683d54b7e81da3..b018603b314ea2fd40b934d2e818b096c052e079 100644 (file)
@@ -328,6 +328,12 @@ namespace llvm {
     void EmitLabelOffsetDifference(const MCSymbol *Hi, uint64_t Offset,
                                    const MCSymbol *Lo, unsigned Size) const;
 
+    /// EmitLabelPlusOffset - Emit something like ".long Label+Offset"
+    /// where the size in bytes of the directive is specified by Size and Label
+    /// specifies the label.  This implicitly uses .set if it is available.
+    void EmitLabelPlusOffset(const MCSymbol *Label, uint64_t Offset,
+                                   unsigned Size) const;
+
     //===------------------------------------------------------------------===//
     // Dwarf Emission Helper Routines
     //===------------------------------------------------------------------===//