77 throw CGException(
"Expected a clang with version '",
version,
"' but found version '",
clang.getVersion(),
"'");
81 const std::map<std::string, ModelCSourceGen<Base>*>&
models = this->modelLibraryHelper_->getModels();
87 const std::map<std::string, std::string>&
modelSources = this->getSources(*
p.second);
89 this->modelLibraryHelper_->startingJob(
"", JobTimer::COMPILING_FOR_MODEL);
91 this->modelLibraryHelper_->finishedJob();
94 const std::map<std::string, std::string>&
sources = this->getLibrarySources();
95 clang.generateLLVMBitCode(
sources, this->modelLibraryHelper_);
97 const std::map<std::string, std::string>&
customSource = this->modelLibraryHelper_->getCustomSources();
104 return clang.getBitCodeFiles();