MCPcopy Create free account
hub / github.com/chigraph/chigraph / compileModule

Method compileModule

libchigraph/src/Context.cpp:534–545  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

532}
533
534Result Context::compileModule(const boost::filesystem::path& fullName, bool linkDependencies,
535 std::unique_ptr<llvm::Module>* toFill) {
536 Result res;
537
538 auto mod = moduleByFullName(fullName);
539 if (mod == nullptr) {
540 res.addEntry("E36", "Could not find module", {{"module", fullName.generic_string()}});
541 return res;
542 }
543
544 return compileModule(*mod, linkDependencies, toFill);
545}
546
547Result Context::compileModule(ChiModule& mod, bool linkDependencies,
548 std::unique_ptr<llvm::Module>* toFill) {

Callers 4

mainFunction · 0.80
startMethod · 0.80
runFunction · 0.80
compileFunction · 0.80

Calls 12

addEntryMethod · 0.80
addScopedContextMethod · 0.80
fullNameMethod · 0.80
retrieveFromCacheMethod · 0.80
fullNamePathMethod · 0.80
lastEditTimeMethod · 0.80
beginMethod · 0.80
endMethod · 0.80
cacheModuleMethod · 0.80
getMethod · 0.80
generateModuleMethod · 0.45

Tested by

no test coverage detected