[llvm-commits] [llvm] r60986 - /llvm/trunk/lib/VMCore/Value.cpp
Chris Lattner
sabre at nondot.org
Sat Dec 13 10:37:59 PST 2008
Author: lattner
Date: Sat Dec 13 12:37:58 2008
New Revision: 60986
URL: http://llvm.org/viewvc/llvm-project?rev=60986&view=rev
Log:
These messages should always be emitted when NDEBUG is unset, not when
NDEBUG is unset and -debug is passed.
Modified:
llvm/trunk/lib/VMCore/Value.cpp
Modified: llvm/trunk/lib/VMCore/Value.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Value.cpp?rev=60986&r1=60985&r2=60986&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/Value.cpp (original)
+++ llvm/trunk/lib/VMCore/Value.cpp Sat Dec 13 12:37:58 2008
@@ -54,9 +54,9 @@
// a <badref>
//
if (!use_empty()) {
- DOUT << "While deleting: " << *VTy << " %" << getNameStr() << "\n";
+ cerr << "While deleting: " << *VTy << " %" << getNameStr() << "\n";
for (use_iterator I = use_begin(), E = use_end(); I != E; ++I)
- DOUT << "Use still stuck around after Def is destroyed:"
+ cerr << "Use still stuck around after Def is destroyed:"
<< **I << "\n";
}
#endif
More information about the llvm-commits
mailing list