Silence *calling* unresolved symbols. Handing it out already complains.

This commit is contained in:
Axel Naumann 2015-07-03 10:11:50 +02:00 committed by sftnight
parent 4b08f20793
commit 7217f8099b

View File

@ -117,9 +117,13 @@ void IncrementalExecutor::AddAtExitFunc(void (*func) (void*), void* arg) {
void unresolvedSymbol()
{
// throw exception?
llvm::errs() << "IncrementalExecutor: calling unresolved symbol, "
"see previous error message!\n";
// This might get called recursively, or a billion of times. Do not generate
// useless output; unresolvedSymbol() is always handed out with an error
// message - that's enough.
//llvm::errs() << "IncrementalExecutor: calling unresolved symbol, "
// "see previous error message!\n";
// throw exception instead?
}
void* IncrementalExecutor::HandleMissingFunction(const std::string& mangled_name)