| 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 | |
| 31 | TEST_F(TestRDSpace, NullBuildN) { |
nothing calls this directly
no test coverage detected