Have TableGen emit code that uses dbgs() rather than errs().
authorDavid Greene <greened@obbligato.org>
Tue, 5 Jan 2010 17:47:41 +0000 (17:47 +0000)
committerDavid Greene <greened@obbligato.org>
Tue, 5 Jan 2010 17:47:41 +0000 (17:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92738 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/SubtargetEmitter.cpp

index 0dbfcbef30c6a3606ce85c830798623046da5bb1..9ac652f79935446915fe646a975b206aff70acf4 100644 (file)
@@ -519,8 +519,8 @@ void SubtargetEmitter::ParseFeaturesFunction(raw_ostream &OS) {
   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"