Add DebugValue global function
authorChris Lattner <sabre@nondot.org>
Thu, 12 Jul 2001 23:33:53 +0000 (23:33 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 12 Jul 2001 23:33:53 +0000 (23:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Assembly/Writer.h

index 68a5ed28122b1ded18cece14eaf4af9c2c83e23c..6c7addd283f8460ea2fe0ffe8fbb36f6ce114c08 100644 (file)
@@ -88,4 +88,8 @@ inline ostream &operator<<(ostream &o, const Value *I) {
   return o;
 }
 
+inline void DebugValue(const Value *V) {
+  cerr << V << endl;
+}
+
 #endif