From fcf17a30961ac3dfee893c323f7b9ae5fe012957 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 3 Jan 2007 22:37:27 +0000 Subject: The previous implementation of LLVM Streams wasn't removing symbols. This one should. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32845 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/Debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/llvm/Support/Debug.h') diff --git a/include/llvm/Support/Debug.h b/include/llvm/Support/Debug.h index 627d088eb0..437e57ea07 100644 --- a/include/llvm/Support/Debug.h +++ b/include/llvm/Support/Debug.h @@ -68,7 +68,7 @@ bool isCurrentDebugType(const char *Type); OStream &getErrorOutputStream(const char *DebugType); #ifdef NDEBUG -#define DOUT cnull +#define DOUT OStream(0) #else #define DOUT getErrorOutputStream(DEBUG_TYPE) #endif -- cgit v1.2.3