diff options
Diffstat (limited to 'include/llvm/Support/Debug.h')
-rw-r--r-- | include/llvm/Support/Debug.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |