Lines Matching +defs:from +defs:end

94   // ".text.split." holds symbols which are split out from functions in other
178 // Only expand the LMARegion if it is different from memRegion.
209 // should be defined from linker script.
251 // This function is called from LinkerScript::declareSymbols.
329 auto from = llvm::find_if(sectionCommands, [&](SectionCommand *subCmd) {
333 if (from == sectionCommands.end())
335 moves.push_back(cast<OutputDesc>(*from));
336 sectionCommands.erase(from);
344 if (insertPos == sectionCommands.end()) {
350 sectionCommands.insert(insertPos, moves.begin(), moves.end());
372 // need symbols from that sections to be declared early.
382 // This function is called from assignAddresses, while we are
484 return std::reverse(vec.begin(), vec.end());
532 auto sortByPositionThenCommandLine = [&](size_t begin, size_t end) {
533 llvm::sort(MutableArrayRef<size_t>(indexes).slice(begin, end - begin));
534 for (size_t i = begin; i != end; ++i)
538 MutableArrayRef<InputSectionBase *>(ret).slice(begin, end - begin),
634 << "' cannot spill from/to /DISCARD/";
686 part.armExidx->exidxSections.end());
703 ret.insert(ret.end(), isd->sectionBases.begin(), isd->sectionBases.end());
727 // as if it wasn't present from the beginning.
800 insertNames.insert(ic.names.begin(), ic.names.end());
816 << "' cannot spill from/to INSERT section '" << os->name
823 // sectionCommands, append it to the end. The section will be inserted by
849 // indistinguishable from any other regular section index.
954 // start = .; *(.foo.*) end = .; *(.bar)
959 // and end symbols.
971 // end up being linked to the same output section. The casts are fine
1047 // When SECTIONS command is present we just add all orphans to the end.
1049 sectionCommands.insert(sectionCommands.end(), v.begin(), v.end());
1051 sectionCommands.insert(sectionCommands.begin(), v.begin(), v.end());
1165 // starts from the end address of the previous tbss section.
1222 // We visited SectionsCommands from processSectionCommands to
1263 // If .relro_padding is present, round up the end to a common-page-size
1273 // NOBITS TLS sections are similar. Additionally save the end address.
1340 // will have on the rest of the linker. That is why we copy the flags from
1437 if (firstPtLoad != phdrsCommands.end())
1452 // enough space for these sections, we'll remove them from the PT_LOAD segment,
1462 if (it == phdrs.end())
1572 // from their input section description.
1588 // Find the next potential spill location and remove it from the list.
1590 if (it == potentialSpillLists.end())
1601 // the spill section may have diverged from the original due to e.g. a
1609 // Record the (potential) reduction in the region's end position.
1614 // Spilling continues until the end position no longer overflows the
1818 // Keeps track of references from which PROVIDE symbols have been added to the
1828 // Prevent the symbol from being discarded by --gc-sections.
1831 if (it != provideMap.end() && shouldAddProvideSym(name) &&
1841 // undefined references from the RHS, the result of this function for a