1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

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

NDEBUG is unset and -debug is passed.

llvm-svn: 60986
This commit is contained in:
Chris Lattner 2008-12-13 18:37:58 +00:00
parent 2f6a78628d
commit 0be74c4208

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