| 508 | } |
| 509 | |
| 510 | PathId PlatformFileSystem::getCompileDir(bool isUnitCompilation, |
| 511 | SymbolTable *symbolTable) { |
| 512 | std::filesystem::path cacheDir = m_outputDir; |
| 513 | cacheDir /= isUnitCompilation ? kUnitCompileDirName : kAllCompileDirName; |
| 514 | PathId compileDirId = toPathId(cacheDir.string(), symbolTable); |
| 515 | if (kEnableLogs) { |
| 516 | std::cerr << "getCompileDir: " << PathIdPP(compileDirId) << std::endl; |
| 517 | } |
| 518 | return compileDirId; |
| 519 | } |
| 520 | |
| 521 | PathId PlatformFileSystem::getPpOutputFile(bool isUnitCompilation, |
| 522 | PathId sourceFileId, |
no test coverage detected