Home
last modified time | relevance | path

Searched refs:numNames (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/lld/wasm/
H A DSyntheticSections.cpp735 unsigned numNames = out.importSec->getNumImportedFunctions(); in numNamedFunctions() local
739 ++numNames; in numNamedFunctions()
741 return numNames; in numNamedFunctions()
745 unsigned numNames = out.importSec->getNumImportedGlobals(); in numNamedGlobals() local
749 ++numNames; in numNamedGlobals()
751 numNames += out.globalSec->internalGotSymbols.size(); in numNamedGlobals()
752 return numNames; in numNamedGlobals()
756 unsigned numNames = 0; in numNamedDataSegments() local
760 ++numNames; in numNamedDataSegments()
762 return numNames; in numNamedDataSegments()
H A DSyntheticSections.h377 bool isNeeded() const override { return !config->stripAll && numNames() > 0; }
379 unsigned numNames() const { return numNamedGlobals() + numNamedFunctions(); }