[llvm-commits] [llvm] r92738 - /llvm/trunk/utils/TableGen/SubtargetEmitter.cpp
David Greene
greened at obbligato.org
Tue Jan 5 09:47:41 PST 2010
Author: greened
Date: Tue Jan 5 11:47:41 2010
New Revision: 92738
URL: http://llvm.org/viewvc/llvm-project?rev=92738&view=rev
Log:
Have TableGen emit code that uses dbgs() rather than errs().
Modified:
llvm/trunk/utils/TableGen/SubtargetEmitter.cpp
Modified: llvm/trunk/utils/TableGen/SubtargetEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/SubtargetEmitter.cpp?rev=92738&r1=92737&r2=92738&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/SubtargetEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/SubtargetEmitter.cpp Tue Jan 5 11:47:41 2010
@@ -519,8 +519,8 @@
OS << Target;
OS << "Subtarget::ParseSubtargetFeatures(const std::string &FS,\n"
<< " const std::string &CPU) {\n"
- << " DEBUG(errs() << \"\\nFeatures:\" << FS);\n"
- << " DEBUG(errs() << \"\\nCPU:\" << CPU);\n"
+ << " DEBUG(dbgs() << \"\\nFeatures:\" << FS);\n"
+ << " DEBUG(dbgs() << \"\\nCPU:\" << CPU);\n"
<< " SubtargetFeatures Features(FS);\n"
<< " Features.setCPUIfNone(CPU);\n"
<< " uint32_t Bits = Features.getBits(SubTypeKV, SubTypeKVSize,\n"
More information about the llvm-commits
mailing list