| /openbsd-src/gnu/llvm/lld/wasm/ |
| H A D | OutputSections.h | 21 class OutputSection; variable 23 std::string toString(const wasm::OutputSection §ion); 29 class OutputSection { 31 OutputSection(uint32_t type, std::string name = "") 33 virtual ~OutputSection() = default; 56 class CodeSection : public OutputSection { 59 : OutputSection(llvm::wasm::WASM_SEC_CODE), functions(functions) {} in CodeSection() 61 static bool classof(const OutputSection *sec) { in classof() 79 class DataSection : public OutputSection { 82 : OutputSection(llvm::wasm::WASM_SEC_DATA), segments(segments) {} in DataSection() [all …]
|
| H A D | MapFile.h | 16 class OutputSection; variable 17 void writeMapFile(llvm::ArrayRef<OutputSection *> outputSections);
|
| H A D | SyntheticSections.h | 37 class SyntheticSection : public OutputSection { 40 : OutputSection(type, name), bodyOutputStream(body) { in OutputSection() function 264 static bool classof(const OutputSection *sec) { 422 RelocSection(StringRef name, OutputSection *sec) 429 OutputSection *sec;
|
| /openbsd-src/gnu/llvm/lld/ELF/ |
| H A D | OutputSections.h | 35 class OutputSection final : public SectionBase { 37 OutputSection(StringRef name, uint32_t type, uint64_t flags); 63 OutputSection *relocationSection = nullptr; 129 OutputSection osec; 140 InputSection *getFirstInputSection(const OutputSection *os); 142 getInputSections(const OutputSection &os, 151 static OutputSection *elfHeader; 152 static OutputSection *programHeaders; 153 static OutputSection *preinitArray; 154 static OutputSection *initArray; [all …]
|
| H A D | OutputSections.cpp | 41 OutputSection *Out::elfHeader; 42 OutputSection *Out::programHeaders; 43 OutputSection *Out::preinitArray; 44 OutputSection *Out::initArray; 45 OutputSection *Out::finiArray; 47 SmallVector<OutputSection *, 0> elf::outputSections; 49 uint32_t OutputSection::getPhdrFlags() const { in getPhdrFlags() 61 void OutputSection::writeHeaderTo(typename ELFT::Shdr *shdr) { in writeHeaderTo() 74 OutputSection::OutputSection(StringRef name, uint32_t type, uint64_t flags) in OutputSection() function in OutputSection 102 void OutputSection::recordSection(InputSectionBase *isec) { in recordSection() [all …]
|
| H A D | Relocations.h | 21 class OutputSection; variable 132 void hexagonTLSSymbolUpdate(ArrayRef<OutputSection *> outputSections); 133 bool hexagonNeedsTLSSymbol(ArrayRef<OutputSection *> outputSections); 142 bool createThunks(uint32_t pass, ArrayRef<OutputSection *> outputSections); 145 void mergeThunks(ArrayRef<OutputSection *> outputSections); 147 ThunkSection *getISDThunkSec(OutputSection *os, InputSection *isec, 153 void createInitialThunkSections(ArrayRef<OutputSection *> outputSections); 158 ThunkSection *addThunkSection(OutputSection *os, InputSectionDescription *,
|
| H A D | Writer.cpp | 86 void addStartStopSymbols(OutputSection &osec); 116 for (OutputSection *sec : outputSections) in removeEmptyPTLoad() 254 static OutputSection *findSection(StringRef name, unsigned partition = 1) { in findSection() 285 Out::programHeaders = make<OutputSection>("", 0, SHF_ALLOC); in createSyntheticSections() 543 for (OutputSection *sec : outputSections) in run() 714 OutputSection &osec = osd->osec; in addSectionSymbols() 755 static bool isRelroSection(const OutputSection *sec) { in isRelroSection() 862 static unsigned getSectionRank(const OutputSection &osec) { in getSectionRank() 990 const OutputSection *a = &cast<OutputDesc>(aCmd)->osec; in compareSections() 991 const OutputSection *b = &cast<OutputDesc>(bCmd)->osec; in compareSections() [all …]
|
| H A D | LinkerScript.h | 32 class OutputSection; variable 264 OutputSection *outSec = nullptr; 283 SmallVector<InputSectionBase *, 0> createInputSectionList(OutputSection &cmd); 285 void discardSynthetic(OutputSection &); 287 SmallVector<size_t, 0> getPhdrIndices(OutputSection *sec); 290 findMemoryRegion(OutputSection *sec, MemoryRegion *hint); 292 void assignOffsets(OutputSection *sec); 302 OutputSection *aether; 331 bool isDiscarded(const OutputSection *sec) const;
|
| H A D | Writer.h | 18 class OutputSection; variable 30 void add(OutputSection *sec); 41 OutputSection *firstSec = nullptr; 42 OutputSection *lastSec = nullptr;
|
| H A D | LinkerScript.cpp | 62 OutputSection *out = rel->getOutputSection(); in getOutputSectionName() 356 const OutputSection &sec = cast<OutputDesc>(cmd)->osec; in declareSymbols() 573 void LinkerScript::discardSynthetic(OutputSection &outCmd) { in discardSynthetic() 588 LinkerScript::createInputSectionList(OutputSection &outCmd) { in createInputSectionList() 604 auto process = [this](OutputSection *osec) { in processSectionCommands() 652 OutputSection *osec = &osd->osec; in processSectionCommands() 659 OutputSection *osec = &osd->osec; in processSectionCommands() 682 aether = make<OutputSection>("", 0, SHF_ALLOC); in processSymbolAssignments() 704 static OutputSection *findByName(ArrayRef<SectionCommand *> vec, in findByName() 719 static OutputDesc *addInputSec(StringMap<TinyPtrVector<OutputSection *>> &map, in addInputSec() [all …]
|
| H A D | InputSection.h | 32 class OutputSection; variable 79 OutputSection *getOutputSection(); 80 const OutputSection *getOutputSection() const { in getOutputSection() 370 OutputSection *getParent() const { in getParent() 371 return reinterpret_cast<OutputSection *>(parent); in getParent()
|
| H A D | MapFile.cpp | 97 OutputSection *osec = syms[i]->getOutputSection(); in getSymbolStrings() 140 const OutputSection *osec = sec->getOutputSection(); in printEhFrame() 160 OutputSection* osec = nullptr; in writeMapFile()
|
| /openbsd-src/gnu/llvm/lld/MachO/ |
| H A D | OutputSegment.h | 38 class OutputSection; variable 43 void addOutputSection(OutputSection *os); 47 const std::vector<OutputSection *> &getSections() const { return sections; } in getSections() 65 std::vector<OutputSection *> sections;
|
| H A D | OutputSection.h | 35 class OutputSection { 42 OutputSection(Kind kind, StringRef name) : name(name), sectionKind(kind) {} in OutputSection() function 43 virtual ~OutputSection() = default;
|
| H A D | ConcatOutputSection.h | 26 class ConcatOutputSection : public OutputSection { 29 : OutputSection(ConcatKind, name) {} in ConcatOutputSection() 48 static bool classof(const OutputSection *sec) { in classof()
|
| H A D | OutputSection.cpp | 16 uint64_t OutputSection::getSegmentOffset() const { return addr - parent->addr; } in getSegmentOffset() 18 void OutputSection::assignAddressesToStartEndSymbols() { in assignAddressesToStartEndSymbols()
|
| H A D | Writer.h | 16 class OutputSection; variable 36 extern OutputSection *firstTLVDataSection;
|
| H A D | OutputSegment.cpp | 55 for (const OutputSection *osec : sections) in numNonHiddenSections() 60 void OutputSegment::addOutputSection(OutputSection *osec) { in addOutputSection() 88 static int sectionOrder(OutputSection *osec) { in sectionOrder() 155 llvm::stable_sort(sections, compareByOrder<OutputSection *>(sectionOrder)); in sortOutputSections()
|
| H A D | MapFile.cpp | 58 DenseMap<const OutputSection *, 129 const OutputSection *osec, size_t entrySize) { in printStubsEntries() 181 for (OutputSection *osec : seg->getSections()) { in writeMapFile() 192 for (const OutputSection *osec : seg->getSections()) { in writeMapFile()
|
| /openbsd-src/gnu/llvm/lld/COFF/ |
| H A D | Writer.cpp | 102 const OutputSection *os = ctx.getOutputSection(c); in writeTo() 220 bool createThunks(OutputSection *os, int margin); 259 OutputSection *findSection(StringRef name); 294 OutputSection *textSec; 295 OutputSection *rdataSec; 296 OutputSection *buildidSec; 297 OutputSection *dataSec; 298 OutputSection *pdataSec; 299 OutputSection *idataSec; 300 OutputSection *edataSec; [all …]
|
| H A D | Writer.h | 39 class OutputSection { 41 OutputSection(llvm::StringRef n, uint32_t chars) : name(n) { in OutputSection() function 46 void merge(OutputSection *other);
|
| H A D | COFFLinkerContext.h | 52 std::vector<OutputSection *> outputSections; 54 OutputSection *getOutputSection(const Chunk *c) const { in getOutputSection()
|
| H A D | Chunks.cpp | 76 static bool checkSecRel(const SectionChunk *sec, OutputSection *os) { in checkSecRel() 86 OutputSection *os, uint64_t s) { in applySecRel() 97 static void applySecIdx(uint8_t *off, OutputSection *os, in applySecIdx() 112 void SectionChunk::applyRelX64(uint8_t *off, uint16_t type, OutputSection *os, in applyRelX64() 139 void SectionChunk::applyRelX86(uint8_t *off, uint16_t type, OutputSection *os, in applyRelX86() 207 void SectionChunk::applyRelARM(uint8_t *off, uint16_t type, OutputSection *os, in applyRelARM() 282 OutputSection *os, uint64_t s) { in applySecRelLow12A() 288 OutputSection *os, uint64_t s) { in applySecRelHigh12A() 301 OutputSection *os, uint64_t s) { in applySecRelLdr() 324 void SectionChunk::applyRelARM64(uint8_t *off, uint16_t type, OutputSection *os, in applyRelARM64() [all …]
|
| /openbsd-src/gnu/llvm/lld/docs/ELF/ |
| H A D | linker_script.rst | 90 When an *OutputSection* *S* has ``address``, LLD will set sh_addr to ``address``. 103 When an *OutputSection* *S* has ``(type)``, LLD will set ``sh_type`` or 118 sh_addralign of an *OutputSection* *S* is the maximum of 122 When an *OutputSection* *S* has both ``address`` and ``ALIGN(section_align)``, 138 the previous OutputSection a new loadable segment will be generated.
|
| /openbsd-src/gnu/llvm/llvm/lib/InterfaceStub/ |
| H A D | ELFObjHandler.cpp | 75 template <class ELFT> struct OutputSection { struct 88 struct ContentSection : public OutputSection<ELFT> { 200 std::vector<OutputSection<ELFT> *> Sections = {&DynSym, &DynStr, &DynTab, in ELFStubBuilder() 202 const OutputSection<ELFT> *LastSection = Sections.back(); in ELFStubBuilder() 205 for (OutputSection<ELFT> *Sec : Sections) { in ELFStubBuilder() 239 for (OutputSection<ELFT> *Sec : Sections) { in ELFStubBuilder() 330 uint64_t shdrOffset(const OutputSection<ELFT> &Sec) const { in shdrOffset() 334 void writeShdr(uint8_t *Data, const OutputSection<ELFT> &Sec) const { in writeShdr()
|