| /freebsd-12.1/contrib/llvm/tools/lld/ELF/ |
| H A D | OutputSections.cpp | 36 OutputSection *Out::ElfHeader; 37 OutputSection *Out::ProgramHeaders; 38 OutputSection *Out::PreinitArray; 39 OutputSection *Out::InitArray; 40 OutputSection *Out::FiniArray; 42 std::vector<OutputSection *> elf::OutputSections; 44 uint32_t OutputSection::getPhdrFlags() const { in getPhdrFlags() 69 OutputSection::OutputSection(StringRef Name, uint32_t Type, uint64_t Flags) in OutputSection() function in OutputSection 269 static void finalizeShtGroup(OutputSection *OS, in finalizeShtGroup() 373 void OutputSection::sortCtorsDtors() { in sortCtorsDtors() [all …]
|
| H A D | OutputSections.h | 32 class OutputSection; variable 42 class OutputSection final : public BaseCommand, public SectionBase { 44 OutputSection(StringRef Name, uint32_t Type, uint64_t Flags); 72 OutputSection *RelocationSection = nullptr; 126 std::vector<InputSection *> getInputSections(OutputSection* OS); 134 static OutputSection *ElfHeader; 135 static OutputSection *ProgramHeaders; 136 static OutputSection *PreinitArray; 137 static OutputSection *InitArray; 138 static OutputSection *FiniArray; [all …]
|
| H A D | Writer.cpp | 888 const OutputSection *A = cast<OutputSection>(ACmd); in compareSections() 889 const OutputSection *B = cast<OutputSection>(BCmd); in compareSections() 991 OutputSection *Edata = nullptr; in setReservedSymbolSections() 1033 static int getRankProximityAux(OutputSection *A, OutputSection *B) { in getRankProximityAux() 1070 OutputSection *Sec = cast<OutputSection>(*E); in findOrphanPos() 1374 OutputSection *Orphan = cast<OutputSection>(*NonScriptI); in sortSections() 2093 OutputSection *Cmd = (*(I + 1)); in fixSectionAlignments() 2197 OutputSection *First = P->FirstSec; in setPhdrs() 2198 OutputSection *Last = P->LastSec; in setPhdrs() 2235 OutputSection *Sec; [all …]
|
| H A D | LinkerScript.cpp | 85 OutputSection *Sec; in createOutputSection() 258 auto *Sec = cast<OutputSection>(Base); in declareSymbols() 548 static OutputSection *addInputSec(StringMap<OutputSection *> &Map, in addInputSec() 628 OutputSection *&Sec = Map[OutsecName]; in addInputSec() 641 StringMap<OutputSection *> Map; in addOrphanSections() 642 std::vector<OutputSection *> V; in addOrphanSections() 655 if (OutputSection *Sec = in addOrphanSections() 755 for (OutputSection *Sec : OutputSections) in findFirstSection() 873 auto *Sec = dyn_cast<OutputSection>(Cmd); in adjustSectionsBeforeSorting() 976 for (OutputSection *Sec : OutputSections) in allocateHeaders() [all …]
|
| H A D | LinkerScript.h | 36 class OutputSection; variable 217 OutputSection *OutSec = nullptr; 223 llvm::DenseMap<StringRef, OutputSection *> NameToOutputSection; 234 std::vector<InputSection *> createInputSectionList(OutputSection &Cmd); 236 std::vector<size_t> getPhdrIndices(OutputSection *Sec); 238 MemoryRegion *findMemoryRegion(OutputSection *Sec); 240 void switchTo(OutputSection *Sec); 244 void assignOffsets(OutputSection *Sec); 254 OutputSection *Aether; 259 OutputSection *createOutputSection(StringRef Name, StringRef Location); [all …]
|
| H A D | Relocations.h | 23 class OutputSection; variable 165 bool createThunks(ArrayRef<OutputSection *> OutputSections); 173 void mergeThunks(ArrayRef<OutputSection *> OutputSections); 175 ThunkSection *getISDThunkSec(OutputSection *OS, InputSection *IS, 181 void createInitialThunkSections(ArrayRef<OutputSection *> OutputSections); 185 ThunkSection *addThunkSection(OutputSection *OS, InputSectionDescription *,
|
| H A D | Writer.h | 21 class OutputSection; variable 32 void add(OutputSection *Sec); 43 OutputSection *FirstSec = nullptr; 44 OutputSection *LastSec = nullptr;
|
| H A D | ScriptParser.cpp | 84 void readSectionAddressType(OutputSection *Cmd); 85 OutputSection *readOverlaySectionDescription(); 86 OutputSection *readOutputSectionDescription(StringRef OutSec); 495 OutputSection *Prev = nullptr; in readOverlay() 499 OutputSection *OS = readOverlaySectionDescription(); in readOverlay() 516 Max = std::max(Max, cast<OutputSection>(Cmd)->Size); in readOverlay() 772 void ScriptParser::readSectionAddressType(OutputSection *Cmd) { in readSectionAddressType() 792 OutputSection *ScriptParser::readOverlaySectionDescription() { in readOverlaySectionDescription() 793 OutputSection *Cmd = in readOverlaySectionDescription() 804 OutputSection *Cmd = in readOutputSectionDescription() [all …]
|
| H A D | MapFile.cpp | 93 OutputSection *OSec = Syms[I]->getOutputSection(); in getSymbolStrings() 112 static void printEhFrame(raw_ostream &OS, OutputSection *OSec) { in printEhFrame() 166 OutputSection* OSec = nullptr; in writeMapFile() 177 OSec = cast<OutputSection>(Base); in writeMapFile()
|
| H A D | Relocations.cpp | 1134 ArrayRef<OutputSection *> OutputSections, in forEachInputSectionDescription() 1135 llvm::function_ref<void(OutputSection *, InputSectionDescription *)> Fn) { in forEachInputSectionDescription() argument 1136 for (OutputSection *OS : OutputSections) { in forEachInputSectionDescription() 1236 void ThunkCreator::mergeThunks(ArrayRef<OutputSection *> OutputSections) { in mergeThunks() 1238 OutputSections, [&](OutputSection *OS, InputSectionDescription *ISD) { in mergeThunks() 1310 OutputSection *TOS = IS->getParent(); in getISThunkSec() 1347 ArrayRef<OutputSection *> OutputSections) { in createInitialThunkSections() 1351 OutputSections, [&](OutputSection *OS, InputSectionDescription *ISD) { in createInitialThunkSections() 1380 ThunkSection *ThunkCreator::addThunkSection(OutputSection *OS, in addThunkSection() 1452 bool ThunkCreator::createThunks(ArrayRef<OutputSection *> OutputSections) { in createThunks() [all …]
|
| H A D | InputSection.h | 32 class OutputSection; variable 75 OutputSection *getOutputSection(); 76 const OutputSection *getOutputSection() const { in getOutputSection() 331 OutputSection *getParent() const;
|
| H A D | SyntheticSections.h | 327 llvm::SmallMapVector<const OutputSection *, PageBlock, 16> PagesMap; 414 uint64_t OffsetInSec, const OutputSection *OutputSec, in DynamicReloc() 440 const OutputSection *OutputSec; 465 void addOutSec(int32_t Tag, OutputSection *Sec); 466 void addSize(int32_t Tag, OutputSection *Sec); 586 llvm::DenseMap<OutputSection *, size_t> SectionIndexMap; 953 ThunkSection(OutputSection *OS, uint64_t Off);
|
| H A D | AArch64ErrataFix.h | 23 class OutputSection; variable
|
| H A D | SyntheticSections.cpp | 671 if (const OutputSection *OS = Sym.getOutputSection()) in addEntry() 731 if (const OutputSection *OutSec = Sym.getOutputSection()) { in getPageEntryOffset() 853 const OutputSection *OS = P.first; in build() 1318 if (OutputSection *Sec = In.DynStrTab->getParent()) in finalizeContents() 1875 if (OutputSection *Sec = StrTabSec.getParent()) in finalizeContents() 1980 if (const OutputSection *OS = Sym->getOutputSection()) in getSymSectionIndex() 2092 if (isa<OutputSection>(Base)) in empty() 2141 if (OutputSection *Sec = In.DynSymTab->getParent()) in finalizeContents() 2274 if (OutputSection *Sec = In.DynSymTab->getParent()) in finalizeContents() 2711 if (OutputSection *Sec = In.DynStrTab->getParent()) in finalizeContents() [all …]
|
| H A D | Symbols.cpp | 164 OutputSection *Symbol::getOutputSection() const { in getOutputSection() 293 else if (D && isa<OutputSection>(D->Section)) in maybeWarnUnorderableSymbol()
|
| H A D | InputSection.cpp | 166 auto *OS = cast<OutputSection>(this); in getOffset() 188 const OutputSection *Out = getOutputSection(); in getVA() 192 OutputSection *SectionBase::getOutputSection() { in getOutputSection() 201 return cast<OutputSection>(this); in getOutputSection() 374 OutputSection *InputSection::getParent() const { in getParent() 375 return cast_or_null<OutputSection>(Parent); in getParent() 541 OutputSection *OS = Sym.getOutputSection(); in getARMStaticBase()
|
| H A D | Symbols.h | 40 class OutputSection; variable 178 OutputSection *getOutputSection() const;
|
| /freebsd-12.1/contrib/llvm/tools/lld/COFF/ |
| H A D | Writer.cpp | 231 OutputSection *TextSec; 232 OutputSection *RdataSec; 234 OutputSection *DataSec; 235 OutputSection *PdataSec; 236 OutputSection *IdataSec; 237 OutputSection *EdataSec; 238 OutputSection *DidatSec; 239 OutputSection *RsrcSec; 240 OutputSection *RelocSec; 281 void OutputSection::merge(OutputSection *Other) { in merge() [all …]
|
| H A D | Writer.h | 31 class OutputSection { 33 OutputSection(llvm::StringRef N, uint32_t Chars) : Name(N) { in OutputSection() function 38 void merge(OutputSection *Other);
|
| H A D | Chunks.h | 38 class OutputSection; variable 98 void setOutputSection(OutputSection *O) { Out = O; } in setOutputSection() 99 OutputSection *getOutputSection() const { return Out; } in getOutputSection() 120 OutputSection *Out = nullptr; 165 void applyRelX64(uint8_t *Off, uint16_t Type, OutputSection *OS, uint64_t S, 167 void applyRelX86(uint8_t *Off, uint16_t Type, OutputSection *OS, uint64_t S, 169 void applyRelARM(uint8_t *Off, uint16_t Type, OutputSection *OS, uint64_t S, 171 void applyRelARM64(uint8_t *Off, uint16_t Type, OutputSection *OS, uint64_t S,
|
| H A D | MapFile.h | 17 class OutputSection; variable 18 void writeMapFile(llvm::ArrayRef<OutputSection *> OutputSections);
|
| H A D | PDB.h | 24 class OutputSection; variable 29 llvm::ArrayRef<OutputSection *> OutputSections,
|
| H A D | Chunks.cpp | 73 static bool checkSecRel(const SectionChunk *Sec, OutputSection *OS) { in checkSecRel() 83 OutputSection *OS, uint64_t S) { in applySecRel() 94 static void applySecIdx(uint8_t *Off, OutputSection *OS) { in applySecIdx() 104 void SectionChunk::applyRelX64(uint8_t *Off, uint16_t Type, OutputSection *OS, in applyRelX64() 124 void SectionChunk::applyRelX86(uint8_t *Off, uint16_t Type, OutputSection *OS, in applyRelX86() 187 void SectionChunk::applyRelARM(uint8_t *Off, uint16_t Type, OutputSection *OS, in applyRelARM() 253 OutputSection *OS, uint64_t S) { in applySecRelLow12A() 259 OutputSection *OS, uint64_t S) { in applySecRelHigh12A() 272 OutputSection *OS, uint64_t S) { in applySecRelLdr() 295 void SectionChunk::applyRelARM64(uint8_t *Off, uint16_t Type, OutputSection *OS, in applyRelARM64() [all …]
|
| H A D | MapFile.cpp | 91 void coff::writeMapFile(ArrayRef<OutputSection *> OutputSections) { in writeMapFile() 109 for (OutputSection *Sec : OutputSections) { in writeMapFile()
|
| H A D | PDB.cpp | 164 void addSections(ArrayRef<OutputSection *> OutputSections, 1138 OutputSection *OS = C->getOutputSection(); in createSectionContrib() 1365 OutputSection *OS = Def->getChunk()->getOutputSection(); in createPublic() 1525 OutputSection &OS, in addLinkerModuleSectionSymbol() 1540 ArrayRef<OutputSection *> OutputSections, in createPDB() 1587 void PDBLinker::addSections(ArrayRef<OutputSection *> OutputSections, in addSections() 1599 for (OutputSection *OS : OutputSections) { in addSections()
|