diff --git a/llvm/include/llvm/Assembly/Writer.h b/llvm/include/llvm/Assembly/Writer.h index 68a5ed28122b..6c7addd283f8 100644 --- a/llvm/include/llvm/Assembly/Writer.h +++ b/llvm/include/llvm/Assembly/Writer.h @@ -88,4 +88,8 @@ inline ostream &operator<<(ostream &o, const Value *I) { return o; } +inline void DebugValue(const Value *V) { + cerr << V << endl; +} + #endif