These should probably be errs().
authorDavid Greene <greened@obbligato.org>
Tue, 5 Jan 2010 01:53:59 +0000 (01:53 +0000)
committerDavid Greene <greened@obbligato.org>
Tue, 5 Jan 2010 01:53:59 +0000 (01:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92673 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp

index b442dfc9ce3b71e09af8e788c7c2a7177ddc6768..c02d84f1a59b642a62f40e4d9f553e85272418b0 100644 (file)
@@ -279,13 +279,13 @@ GenericValue Interpreter::callExternalFunction(Function *F,
 #endif // USE_LIBFFI
 
   if (F->getName() == "__main")
-    dbgs() << "Tried to execute an unknown external function: "
+    errs() << "Tried to execute an unknown external function: "
       << F->getType()->getDescription() << " __main\n";
   else
     llvm_report_error("Tried to execute an unknown external function: " +
                       F->getType()->getDescription() + " " +F->getName());
 #ifndef USE_LIBFFI
-  dbgs() << "Recompiling LLVM with --enable-libffi might help.\n";
+  errs() << "Recompiling LLVM with --enable-libffi might help.\n";
 #endif
   return GenericValue();
 }
@@ -397,7 +397,7 @@ GenericValue lle_X_sprintf(const FunctionType *FT,
       case 's':
         sprintf(Buffer, FmtBuf, (char*)GVTOP(Args[ArgNo++])); break;
       default:
-        dbgs() << "<unknown printf code '" << *FmtStr << "'!>";
+        errs() << "<unknown printf code '" << *FmtStr << "'!>";
         ArgNo++; break;
       }
       strcpy(OutputBuffer, Buffer);