[llvm-commits] [llvm] r92618 - /llvm/trunk/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
David Greene
greened at obbligato.org
Mon Jan 4 17:27:27 PST 2010
Author: greened
Date: Mon Jan 4 19:27:26 2010
New Revision: 92618
URL: http://llvm.org/viewvc/llvm-project?rev=92618&view=rev
Log:
Change errs() to dbgs().
Modified:
llvm/trunk/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
Modified: llvm/trunk/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp?rev=92618&r1=92617&r2=92618&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp (original)
+++ llvm/trunk/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp Mon Jan 4 19:27:26 2010
@@ -279,13 +279,13 @@
#endif // USE_LIBFFI
if (F->getName() == "__main")
- errs() << "Tried to execute an unknown external function: "
+ dbgs() << "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
- errs() << "Recompiling LLVM with --enable-libffi might help.\n";
+ dbgs() << "Recompiling LLVM with --enable-libffi might help.\n";
#endif
return GenericValue();
}
@@ -397,7 +397,7 @@
case 's':
sprintf(Buffer, FmtBuf, (char*)GVTOP(Args[ArgNo++])); break;
default:
- errs() << "<unknown printf code '" << *FmtStr << "'!>";
+ dbgs() << "<unknown printf code '" << *FmtStr << "'!>";
ArgNo++; break;
}
strcpy(OutputBuffer, Buffer);
More information about the llvm-commits
mailing list