| /llvm-project-15.0.7/lld/wasm/ |
| H A D | SyntheticSections.h | 78 bool isNeeded() const override; 89 bool isNeeded() const override { return types.size() > 0; }; in isNeeded() function 166 bool isNeeded() const override { return getNumImports() > 0; } 253 bool isNeeded() const override { return inputTags.size() > 0; } 272 bool isNeeded() const override { return numGlobals() > 0; } 313 bool isNeeded() const override { return exports.size() > 0; } 323 bool isNeeded() const override; 343 bool isNeeded() const override; 358 bool isNeeded() const override { 392 bool isNeeded() const override { [all …]
|
| H A D | OutputSections.h | 38 virtual bool isNeeded() const { return true; } in isNeeded() function 69 bool isNeeded() const override { return functions.size() > 0; } in isNeeded() function 92 bool isNeeded() const override;
|
| H A D | SyntheticSections.cpp | 57 bool DylinkSection::isNeeded() const { in isNeeded() function in lld::wasm::DylinkSection 534 bool StartSection::isNeeded() const { in isNeeded() function in lld::wasm::StartSection 609 bool DataCountSection::isNeeded() const { in isNeeded() function in lld::wasm::DataCountSection
|
| H A D | OutputSections.cpp | 207 bool DataSection::isNeeded() const { in isNeeded() function in lld::wasm::DataSection
|
| H A D | Writer.cpp | 215 assert(s->isNeeded()); in writeSections() 384 if (!sec->isNeeded()) in addSection()
|
| /llvm-project-15.0.7/lld/MachO/ |
| H A D | SyntheticSections.h | 121 bool isNeeded() const override { return !entries.empty(); } in isNeeded() function 219 bool isNeeded() const override { in isNeeded() function 279 bool isNeeded() const override { return !entries.empty(); } in isNeeded() function 305 bool isNeeded() const override; 320 bool isNeeded() const override; 350 bool isNeeded() const override { return size; } in isNeeded() function 475 bool isNeeded() const override; 498 bool isNeeded() const override { return true; } in isNeeded() function 522 bool isNeeded() const override { return !inputs.empty(); } in isNeeded() function 569 bool isNeeded() const override { in isNeeded() function [all …]
|
| H A D | Writer.cpp | 102 if (rebaseSection->isNeeded()) { in writeTo() 106 if (bindingSection->isNeeded()) { in writeTo() 110 if (weakBindingSection->isNeeded()) { in writeTo() 114 if (lazyBindingSection->isNeeded()) { in writeTo() 118 if (exportSection->isNeeded()) { in writeTo() 963 if (osec->isNeeded()) { in createOutputSections() 980 if (ssec->isNeeded() || ssec->segname == segment_names::linkEdit) { in createOutputSections() 1006 if (!osec->isNeeded()) in finalizeAddresses() 1073 if (!osec->isNeeded()) in assignAddresses() 1175 if (in.stubHelper->isNeeded()) in run() [all …]
|
| H A D | UnwindInfoSection.h | 25 bool isNeeded() const override { return !allEntriesAreOmitted; } in isNeeded() function
|
| H A D | OutputSection.h | 59 virtual bool isNeeded() const { return true; } in isNeeded() function
|
| H A D | ConcatOutputSection.h | 34 bool isNeeded() const override { return !inputs.empty(); } in isNeeded() function
|
| H A D | SyntheticSections.cpp | 679 bool StubHelperSection::isNeeded() const { return in.lazyBinding->isNeeded(); } in isNeeded() function in StubHelperSection 729 bool LazyPointerSection::isNeeded() const { in isNeeded() function in LazyPointerSection 1210 bool IndirectSymtabSection::isNeeded() const { in isNeeded() function in IndirectSymtabSection 1211 return in.got->isNeeded() || in.tlvPointers->isNeeded() || in isNeeded() 1212 in.stubs->isNeeded(); in isNeeded()
|
| H A D | Driver.cpp | 409 static void addLibrary(StringRef name, bool isNeeded, bool isWeak, in addLibrary() argument 416 if (isNeeded) in addLibrary() 431 static void addFramework(StringRef name, bool isNeeded, bool isWeak, in addFramework() argument 440 if (isNeeded) in addFramework()
|
| /llvm-project-15.0.7/lld/ELF/ |
| H A D | SyntheticSections.h | 125 bool isNeeded() const override; 204 bool isNeeded() const override; 380 bool isNeeded() const override; 660 bool isNeeded() const override; 721 bool isNeeded() const override; 762 bool isNeeded() const override; 802 bool isNeeded() const override; 842 bool isNeeded() const override; 881 bool isNeeded() const override; 912 bool isNeeded() const override; [all …]
|
| H A D | SyntheticSections.cpp | 708 bool GotSection::isNeeded() const { in isNeeded() function in GotSection 1079 bool MipsGotSection::isNeeded() const { in isNeeded() function in MipsGotSection 1192 bool GotPltSection::isNeeded() const { in isNeeded() function in GotPltSection 1344 if (file->isNeeded) in computeContents() 1404 if (part.relaDyn->isNeeded() || in computeContents() 1405 (in.relaIplt->isNeeded() && in computeContents() 1439 if (isMain && (in.relaPlt->isNeeded() || in.relaIplt->isNeeded())) { in computeContents() 2325 bool SymtabShndxSection::isNeeded() const { in isNeeded() function in SymtabShndxSection 2575 bool PltSection::isNeeded() const { in isNeeded() function in PltSection 3062 bool EhFrameHeader::isNeeded() const { in isNeeded() function in EhFrameHeader [all …]
|
| H A D | MarkLive.cpp | 122 cast<SharedFile>(ss->file)->isNeeded = true; in resolveReloc() 377 cast<SharedFile>(s->file)->isNeeded = true; in markLive()
|
| H A D | InputFiles.h | 335 isNeeded(!config->asNeeded) {} in SharedFile() 355 bool isNeeded; variable
|
| H A D | Writer.cpp | 1058 if (ElfSym::relaIpltStart && in.relaIplt->isNeeded()) { in setReservedSymbolSections() 1621 if (sec && sec->isNeeded() && sec->getParent()) { in finalizeSynthetic() 1828 if (sec->getParent() && sec->isNeeded()) in removeUnusedSyntheticSections() 1955 if (in.plt && in.plt->isNeeded()) in finalizeSections() 1957 if (in.iplt && in.iplt->isNeeded()) in finalizeSections() 2001 if (file->isNeeded && !sym->isUndefined()) in finalizeSections() 2399 if (part.ehFrame->isNeeded() && part.ehFrameHdr && in createPhdrs()
|
| H A D | InputFiles.cpp | 1389 it->second->isNeeded |= isNeeded; in parse()
|
| H A D | Driver.cpp | 2002 if (!(s && !cast<SharedFile>(s->file)->isNeeded) && !sym->isLazy()) in demoteSharedAndLazySymbols()
|