diff options
| author | David Greene <greened@obbligato.org> | 2010-01-04 23:14:46 +0000 |
|---|---|---|
| committer | David Greene <greened@obbligato.org> | 2010-01-04 23:14:46 +0000 |
| commit | 781a082d55f86073cd8200e85308494cfcb3b16f (patch) | |
| tree | 33b6517665c3f265cce2affc5776a522d6aa1c62 /lib/CodeGen/MachOWriter.cpp | |
| parent | 33e8afe365ffe59a424e9a4da2d7637444dfed39 (diff) | |
| download | external_llvm-781a082d55f86073cd8200e85308494cfcb3b16f.zip external_llvm-781a082d55f86073cd8200e85308494cfcb3b16f.tar.gz external_llvm-781a082d55f86073cd8200e85308494cfcb3b16f.tar.bz2 | |
Change errs() to dbgs().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92539 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachOWriter.cpp')
| -rw-r--r-- | lib/CodeGen/MachOWriter.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/CodeGen/MachOWriter.cpp b/lib/CodeGen/MachOWriter.cpp index 73b15ed..337eab1 100644 --- a/lib/CodeGen/MachOWriter.cpp +++ b/lib/CodeGen/MachOWriter.cpp @@ -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 @@ void MachOWriter::InitMem(const Constant *C, uintptr_t Offset, } 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 @@ void MachOWriter::InitMem(const Constant *C, uintptr_t Offset, 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!"); } } |
