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

Method getPpOutputFile

src/Common/FileSystem.cpp:316–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314}
315
316PathId FileSystem::getPpOutputFile(bool isUnitCompilation, PathId sourceFileId,
317 SymbolId libraryNameId,
318 SymbolTable *symbolTable) {
319 if (!sourceFileId || !libraryNameId) return BadPathId;
320
321 const std::string_view libraryName = symbolTable->getSymbol(libraryNameId);
322 if (libraryName == BadRawSymbol) return BadPathId;
323
324 return getPpOutputFile(isUnitCompilation, sourceFileId, libraryName,
325 symbolTable);
326}
327
328PathId FileSystem::getPpCacheFile(bool isUnitCompilation, PathId sourceFileId,
329 SymbolId libraryNameId, bool isPrecompiled,

Callers 3

getCacheFileIdMethod · 0.45
getCacheFileIdMethod · 0.45
postPreprocess_Method · 0.45

Calls 1

getSymbolMethod · 0.45

Tested by

no test coverage detected