From 49d684e1e2d044f1c2156bbddd3d621e7bd405e9 Mon Sep 17 00:00:00 2001 From: Manman Ren Date: Wed, 12 Sep 2012 05:06:18 +0000 Subject: Release build: guard dump functions with "#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)" No functional change. Update r163344. llvm-svn: 163679 --- llvm/lib/Analysis/Trace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Analysis/Trace.cpp') diff --git a/llvm/lib/Analysis/Trace.cpp b/llvm/lib/Analysis/Trace.cpp index dbb95357288..22da8576203 100644 --- a/llvm/lib/Analysis/Trace.cpp +++ b/llvm/lib/Analysis/Trace.cpp @@ -43,7 +43,7 @@ void Trace::print(raw_ostream &O) const { O << "; Trace parent function: \n" << *F; } -#ifndef NDEBUG +#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) /// dump - Debugger convenience method; writes trace to standard error /// output stream. /// -- cgit v1.2.3