MCPcopy Create free account
hub / github.com/chipsalliance/Surelog / getCompileDir

Method getCompileDir

src/Common/PlatformFileSystem.cpp:510–519  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

508}
509
510PathId 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
521PathId PlatformFileSystem::getPpOutputFile(bool isUnitCompilation,
522 PathId sourceFileId,

Callers 3

processArgs_Method · 0.80
parseCommandLineMethod · 0.80

Calls 1

PathIdPPClass · 0.85

Tested by

no test coverage detected