• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/lld/ELF/

Lines Matching refs:script

122   // For parsing version script.
130 // True if a script being read is in a subdirectory specified by -sysroot.
264 script->sectionCommands.push_back(cmd);
278 script->sectionCommands.push_back(cmd);
305 // Case 4: s is a relative path. Search in the directory of the script file.
366 setError("there is a cycle in linker script INCLUDEs");
375 setError("cannot find linker script " + tok);
474 script->phdrsCommands.push_back(cmd);
485 if (script->memoryRegions.count(alias))
487 if (!script->memoryRegions.count(name))
489 script->memoryRegions.insert({alias, script->memoryRegions[name]});
562 script->sectionCommands.insert(script->sectionCommands.end(), v.begin(),
566 script->hasSectionsCommand = true;
578 script->insertCommands.push_back({os, isAfter, where});
585 // script as well.
725 script->keptSections.push_back(cmd);
751 return script->getDot();
809 script->createOutputSection(next(), getCurrentLocation());
825 script->createOutputSection(outSec, getCurrentLocation());
827 size_t symbolsReferenced = script->referencedSymbols.size();
909 if (script->referencedSymbols.size() > symbolsReferenced)
975 e = [=] { return add(script->getSymbolValue(name, loc), e()); };
981 // script expression.
1212 if (cmd->location.empty() && script->errorOnMissingSection)
1248 OutputSection *sec = script->getOrCreateOutputSection(name);
1260 return [=] { return alignTo(script->getDot(), e().getValue()); };
1273 OutputSection *cmd = script->getOrCreateOutputSection(name);
1290 return alignTo(script->getDot(), std::max((uint64_t)1, e().getValue()));
1297 return [] { return script->getDot(); };
1309 return [=] { return alignTo(script->getDot(), e().getValue()); };
1317 if (script->memoryRegions.count(name) == 0) {
1321 return script->memoryRegions[name]->length;
1325 OutputSection *cmd = script->getOrCreateOutputSection(name);
1344 if (script->memoryRegions.count(name) == 0) {
1348 return script->memoryRegions[name]->origin;
1360 OutputSection *cmd = script->getOrCreateOutputSection(name);
1361 // Linker script does not create an output section if its content is empty.
1371 return [=] { return script->getSymbolValue(tok, location); };
1380 script->referencedSymbols.push_back(tok);
1381 return [=] { return script->getSymbolValue(tok, location); };
1575 if (!script->memoryRegions.insert({tok, mr}).second)