aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2010-01-05 01:27:26 +0000
committerDavid Greene <greened@obbligato.org>2010-01-05 01:27:26 +0000
commit4ac99a8c26cad3f25a50c32dfbd249d6ec5958a3 (patch)
tree51aea2ba8194d083bb6189738ae84737097bfe82 /lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
parenta1fa76cb5443e7b0fe7d36ee1118f80050e746f9 (diff)
downloadexternal_llvm-4ac99a8c26cad3f25a50c32dfbd249d6ec5958a3.zip
external_llvm-4ac99a8c26cad3f25a50c32dfbd249d6ec5958a3.tar.gz
external_llvm-4ac99a8c26cad3f25a50c32dfbd249d6ec5958a3.tar.bz2
Change errs() to dbgs().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92618 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp')
-rw-r--r--lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp b/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
index c02d84f..b442dfc 100644
--- a/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
+++ b/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
@@ -279,13 +279,13 @@ GenericValue Interpreter::callExternalFunction(Function *F,
#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 @@ GenericValue lle_X_sprintf(const FunctionType *FT,
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);