MCPcopy Create free account
hub / github.com/Samsung/UTopia / load

Method load

tests/rootdefanalysis/TestRDSpace.cpp:14–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12 std::unique_ptr<SourceCollection> SC;
13
14 bool load(std::string BaseDir, std::vector<std::string> Paths) {
15 for (auto Path : Paths)
16 outs() << Path << "\n";
17 auto CH = TestHelperFactory().createCompileHelper(
18 BaseDir, Paths, "-O0", CompileHelper::SourceType_CPP);
19 if (!CH)
20 return false;
21
22 SC = CH->load();
23 AH = std::make_unique<IRAccessHelper>(SC->getLLVMModule());
24 if (!AH)
25 return false;
26
27 return true;
28 }
29};
30
31TEST_F(TestRDSpace, NullBuildN) {

Callers

nothing calls this directly

Calls 3

TestHelperFactoryClass · 0.85
createCompileHelperMethod · 0.80
getLLVMModuleMethod · 0.80

Tested by

no test coverage detected