From b144fb872c41d85aea501a7f5051986a072c7c45 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 12 Jul 2001 23:33:53 +0000 Subject: [PATCH] Add DebugValue global function git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Assembly/Writer.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/llvm/Assembly/Writer.h b/include/llvm/Assembly/Writer.h index 68a5ed28122..6c7addd283f 100644 --- a/include/llvm/Assembly/Writer.h +++ b/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 -- 2.34.1