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

Method getParseCacheFile

src/Common/FileSystem.cpp:340–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

338}
339
340PathId FileSystem::getParseCacheFile(bool isUnitCompilation, PathId ppFileId,
341 SymbolId libraryNameId, bool isPrecompiled,
342 SymbolTable *symbolTable) {
343 if (!ppFileId || !libraryNameId) return BadPathId;
344
345 const std::string_view libraryName = symbolTable->getSymbol(libraryNameId);
346 if (libraryName == BadRawSymbol) return BadPathId;
347
348 return getParseCacheFile(isUnitCompilation, ppFileId, libraryName,
349 isPrecompiled, symbolTable);
350}
351
352PathId FileSystem::getPythonCacheFile(bool isUnitCompilation,
353 PathId sourceFileId,

Callers 2

getCacheFileIdMethod · 0.45
TESTFunction · 0.45

Calls 1

getSymbolMethod · 0.45

Tested by 1

TESTFunction · 0.36