[llvm-commits] [llvm] r92539 - /llvm/trunk/lib/CodeGen/MachOWriter.cpp
David Greene
greened at obbligato.org
Mon Jan 4 15:14:46 PST 2010
Author: greened
Date: Mon Jan 4 17:14:46 2010
New Revision: 92539
URL: http://llvm.org/viewvc/llvm-project?rev=92539&view=rev
Log:
Change errs() to dbgs().
Modified:
llvm/trunk/lib/CodeGen/MachOWriter.cpp
Modified: llvm/trunk/lib/CodeGen/MachOWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachOWriter.cpp?rev=92539&r1=92538&r2=92539&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachOWriter.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachOWriter.cpp Mon Jan 4 17:14:46 2010
@@ -33,6 +33,7 @@
#include "llvm/Target/TargetData.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetMachOWriterInfo.h"
+#include "llvm/Support/Debug.h"
#include "llvm/Support/Mangler.h"
#include "llvm/Support/OutputBuffer.h"
#include "llvm/Support/ErrorHandling.h"
@@ -634,7 +635,7 @@
}
case Instruction::Add:
default:
- errs() << "ConstantExpr not handled as global var init: " << *CE <<"\n";
+ dbgs() << "ConstantExpr not handled as global var init: " << *CE <<"\n";
llvm_unreachable(0);
}
} else if (PC->getType()->isSingleValueType()) {
@@ -732,7 +733,7 @@
WorkList.push_back(CPair(CPS->getOperand(i),
PA+SL->getElementOffset(i)));
} else {
- errs() << "Bad Type: " << *PC->getType() << "\n";
+ dbgs() << "Bad Type: " << *PC->getType() << "\n";
llvm_unreachable("Unknown constant type to initialize memory with!");
}
}
More information about the llvm-commits
mailing list