These messages should always be emitted when NDEBUG is unset, not when

NDEBUG is unset and -debug is passed.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60986 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2008-12-13 18:37:58 +00:00
parent 23f522a545
commit 44b838d5b5

View File

@ -54,9 +54,9 @@ Value::~Value() {
// 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