summaryrefslogtreecommitdiff
path: root/include/llvm/Assembly
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-07-12 23:33:53 +0000
committerChris Lattner <sabre@nondot.org>2001-07-12 23:33:53 +0000
commitb144fb872c41d85aea501a7f5051986a072c7c45 (patch)
tree781c7e1a6da2f469fa001c63ef52e17bee35b673 /include/llvm/Assembly
parentc262f7298f826347aee1519e20f5166b1d29e842 (diff)
downloadllvm-b144fb872c41d85aea501a7f5051986a072c7c45.tar.gz
llvm-b144fb872c41d85aea501a7f5051986a072c7c45.tar.bz2
llvm-b144fb872c41d85aea501a7f5051986a072c7c45.tar.xz
Add DebugValue global function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Assembly')
-rw-r--r--include/llvm/Assembly/Writer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Assembly/Writer.h b/include/llvm/Assembly/Writer.h
index 68a5ed2812..6c7addd283 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