AsmPrinter: Take range in DwarfExpression::AddExpression(), NFC
[oota-llvm.git] / lib / CodeGen / AsmPrinter / DwarfExpression.h
index d4062e8e3bc6cd9239aa0f73f440187411da39f3..b90b7b682ac66a025c4aa7da2e93c4c99cd90b8f 100644 (file)
@@ -96,7 +96,8 @@ public:
   /// Emit a the operations remaining the DIExpressionIterator I.
   /// \param PieceOffsetInBits If this is one piece out of a fragmented
   /// location, this is the offset of the piece inside the entire variable.
-  void AddExpression(DIExpression::iterator I, unsigned PieceOffsetInBits = 0);
+  void AddExpression(DIExpression::iterator I, DIExpression::iterator E,
+                     unsigned PieceOffsetInBits = 0);
 };
 
 /// DwarfExpression implementation for .debug_loc entries.