mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-17 00:57:54 +00:00
These should probably be errs().
llvm-svn: 92673
This commit is contained in:
parent
9c02d20409
commit
28c02548d3
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user