Use runFunction for running inits. Let's see whether it imporves LHCb builds

This commit is contained in:
Vassil Vassilev 2014-03-11 23:37:05 +01:00 committed by Axel Naumann
parent a54f51cdee
commit b5e6cb8dee

View File

@ -270,8 +270,8 @@ IncrementalExecutor::runStaticInitializersOnce(llvm::Module* m) {
m_unresolvedSymbols.clear();
return kExeUnresolvedSymbols;
}
executeFunction(F->getName());
//m_engine->runFunction(F, std::vector<llvm::GenericValue>());
//executeFunction(F->getName());
m_engine->runFunction(F, std::vector<llvm::GenericValue>());
// Cleanup also the dangling init functions. They are in the form:
// define internal void @_GLOBAL__I_aN() section "..."{
// entry: