Home
last modified time | relevance | path

Searched refs:isNeeded (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/llvm-project/lld/MachO/
H A DSyntheticSections.h106 bool isNeeded() const override { return target->pageZeroSize != 0; } in isNeeded() function
120 bool isNeeded() const override { return !entries.empty(); } in isNeeded() function
161 bool isNeeded() const override { return !locations.empty(); } in isNeeded() function
190 bool isNeeded() const override { return !bindingsMap.empty(); } in isNeeded() function
218 bool isNeeded() const override { in isNeeded() function
284 bool isNeeded() const override { return !entries.empty(); } in isNeeded() function
310 bool isNeeded() const override;
343 bool isNeeded() const override { return !symbols.empty(); } in isNeeded() function
363 bool isNeeded() const override;
375 bool isNeeded() const override { return !entries.empty(); } in isNeeded() function
[all …]
H A DWriter.cpp100 if (rebaseSection->isNeeded()) { in writeTo()
104 if (bindingSection->isNeeded()) { in writeTo()
108 if (weakBindingSection->isNeeded()) { in writeTo()
112 if (lazyBindingSection->isNeeded()) { in writeTo()
116 if (exportSection->isNeeded()) { in writeTo()
1061 if (osec->isNeeded()) { in createOutputSections()
1084 if (ssec->isNeeded() || ssec->segname == segment_names::linkEdit) { in createOutputSections()
1110 if (!osec->isNeeded()) in finalizeAddresses()
1172 if (!osec->isNeeded()) in assignAddresses()
1326 if (in.objcStubs->isNeeded()) in run()
[all …]
H A DConcatOutputSection.cpp139 if (in.objcStubs && in.objcStubs->isNeeded()) in needsThunks()
232 if (in.objcStubs && in.objcStubs->isNeeded()) in estimateBranchTargetThresholdVA()
246 (in.objcStubs && in.objcStubs->isNeeded() in estimateBranchTargetThresholdVA()
356 (in.objcStubs && in.objcStubs->isNeeded() && in finalize()
H A DUnwindInfoSection.h22 bool isNeeded() const override { return !allEntriesAreOmitted; } in isNeeded() function
H A DOutputSection.h59 virtual bool isNeeded() const { return true; } in isNeeded() function
H A DConcatOutputSection.h34 bool isNeeded() const override { return !inputs.empty(); } in isNeeded() function
H A DSyntheticSections.cpp779 bool StubHelperSection::isNeeded() const { return in.lazyBinding->isNeeded(); } in isNeeded() function in StubHelperSection
970 bool LazyPointerSection::isNeeded() const { in isNeeded() function in LazyPointerSection
1489 bool IndirectSymtabSection::isNeeded() const { in isNeeded() function in IndirectSymtabSection
1490 return in.got->isNeeded() || in.tlvPointers->isNeeded() || in isNeeded()
1491 in.stubs->isNeeded(); in isNeeded()
2305 bool ChainedFixupsSection::isNeeded() const { in isNeeded() function in ChainedFixupsSection
H A DDriver.cpp445 static void addLibrary(StringRef name, bool isNeeded, bool isWeak, in addLibrary() argument
452 if (isNeeded) in addLibrary()
472 static void addFramework(StringRef name, bool isNeeded, bool isWeak, in addFramework() argument
481 if (isNeeded) in addFramework()
/freebsd/contrib/llvm-project/lld/ELF/
H A DSyntheticSections.h56 bool isNeeded() const override { return !sections.empty(); } in isNeeded() function
110 bool isNeeded() const override;
184 bool isNeeded() const override { return size != 0; } in isNeeded() function
200 bool isNeeded() const override;
376 bool isNeeded() const override;
396 bool isNeeded() const override { return !entries.empty(); } in isNeeded() function
550 bool isNeeded() const override { in isNeeded() function
619 bool isNeeded() const override { in isNeeded() function
690 bool isNeeded() const override;
751 bool isNeeded() const override;
[all …]
H A DSyntheticSections.cpp743 bool GotSection::isNeeded() const { in isNeeded() function in GotSection
1131 bool MipsGotSection::isNeeded() const { in isNeeded() function in MipsGotSection
1245 bool GotPltSection::isNeeded() const { in isNeeded() function in GotPltSection
1389 if (file->isNeeded) in computeContents()
1449 if (part.relaDyn->isNeeded()) { in computeContents()
1482 if (isMain && ctx.in.relaPlt->isNeeded()) { in computeContents()
1529 if (ctx.mainPart->memtagGlobalDescriptors->isNeeded()) { in computeContents()
1571 if (part.verSym && part.verSym->isNeeded()) in computeContents()
1577 if (part.verNeed && part.verNeed->isNeeded()) { in computeContents()
1614 if (ctx.arg.emachine == EM_PPC64 && ctx.in.plt->isNeeded()) { in computeContents()
[all …]
H A DMarkLive.cpp164 cast<SharedFile>(ss->file)->isNeeded = true; in resolveReloc()
510 cast<SharedFile>(s->file)->isNeeded = true; in markLive()
H A DWriter.cpp294 if (sym->isLazy() || (s && !cast<SharedFile>(s->file)->isNeeded)) { in demoteSymbolsAndComputeIsPreemptible()
856 if (dyn.isNeeded()) { in setReservedSymbolSections()
1462 if (sec && sec->isNeeded() && sec->getParent()) { in finalizeSynthetic()
1767 if (sec->getParent() && sec->isNeeded()) in removeUnusedSyntheticSections()
1905 if (ctx.in.plt && ctx.in.plt->isNeeded()) in finalizeSections()
1907 if (ctx.in.iplt && ctx.in.iplt->isNeeded()) in finalizeSections()
1971 if (file->isNeeded && !sym->isUndefined()) in finalizeSections()
2449 if (part.ehFrame->isNeeded() && part.ehFrameHdr && in createPhdrs()
H A DInputFiles.h357 bool isNeeded; variable
H A DInputSection.h508 virtual bool isNeeded() const { return true; } in isNeeded() function
H A DInputFiles.cpp1384 soName(defaultSoName), isNeeded(!ctx.arg.asNeeded) {} in SharedFile()
1574 it->second->isNeeded |= isNeeded; in parse()
H A DLinkerScript.cpp1092 if (!ctx.arg.cmseImplib || !ctx.in.armCmseSGSection->isNeeded()) in diagnoseMissingSGSectionAddress()