Searched refs:OutputSection (Results 1 - 25 of 42) sorted by relevance

12

/freebsd-13-stable/contrib/llvm-project/lld/COFF/
H A DLLDMapFile.h16 class OutputSection;
17 void writeLLDMapFile(llvm::ArrayRef<OutputSection *> outputSections);
H A DMapFile.h16 class OutputSection;
17 void writeMapFile(llvm::ArrayRef<OutputSection *> outputSections);
H A DPDB.h24 class OutputSection;
29 llvm::ArrayRef<OutputSection *> outputSections,
H A DWriter.h34 // OutputSection represents a section in an output file. It's a
35 // container of chunks. OutputSection and Chunk are 1:N relationship.
39 class OutputSection { class in namespace:lld::coff
41 OutputSection(llvm::StringRef n, uint32_t chars) : name(n) { function in class:lld::coff::OutputSection
46 void merge(OutputSection *other);
H A DWriter.cpp84 static std::vector<OutputSection *> outputSections;
86 OutputSection *Chunk::getOutputSection() const {
107 OutputSection *os = c->getOutputSection();
181 // OutputSection. Collating a collection of PartialSections of same name and
182 // characteristics constitutes the OutputSection.
243 OutputSection *findSection(StringRef name);
274 OutputSection *textSec;
275 OutputSection *rdataSec;
276 OutputSection *buildidSec;
277 OutputSection *dataSe
[all...]
H A DLLDMapFile.cpp89 void lld::coff::writeLLDMapFile(ArrayRef<OutputSection *> outputSections) {
107 for (OutputSection *sec : outputSections) {
H A DChunks.cpp69 static bool checkSecRel(const SectionChunk *sec, OutputSection *os) {
79 OutputSection *os, uint64_t s) {
90 static void applySecIdx(uint8_t *off, OutputSection *os) {
100 void SectionChunk::applyRelX64(uint8_t *off, uint16_t type, OutputSection *os,
120 void SectionChunk::applyRelX86(uint8_t *off, uint16_t type, OutputSection *os,
183 void SectionChunk::applyRelARM(uint8_t *off, uint16_t type, OutputSection *os,
250 OutputSection *os, uint64_t s) {
256 OutputSection *os, uint64_t s) {
269 OutputSection *os, uint64_t s) {
292 void SectionChunk::applyRelARM64(uint8_t *off, uint16_t type, OutputSection *o
[all...]
/freebsd-13-stable/contrib/llvm-project/lld/MachO/
H A DOutputSegment.h12 #include "OutputSection.h"
28 class OutputSection;
33 const OutputSection *firstSection() const { return sections.front(); }
34 const OutputSection *lastSection() const { return sections.back(); }
36 void addOutputSection(OutputSection *os);
38 llvm::function_ref<bool(OutputSection *, OutputSection *)> comparator) {
42 const std::vector<OutputSection *> &getSections() const { return sections; }
52 std::vector<OutputSection *> sections;
H A DOutputSection.cpp1 //===- OutputSection.cpp --------------------------------------------------===//
9 #include "OutputSection.h"
16 uint64_t OutputSection::getSegmentOffset() const {
H A DMergedOutputSection.h1 //===- OutputSection.h ------------------------------------------*- C++ -*-===//
13 #include "OutputSection.h"
24 class MergedOutputSection : public OutputSection {
26 MergedOutputSection(StringRef name) : OutputSection(MergedKind, name) {}
42 static bool classof(const OutputSection *sec) {
H A DOutputSection.h1 //===- OutputSection.h ------------------------------------------*- C++ -*-===//
25 class OutputSection { class in namespace:lld::macho
32 OutputSection(Kind kind, StringRef name) : name(name), sectionKind(kind) {} function in class:lld::macho::OutputSection
33 virtual ~OutputSection() = default;
H A DInputSection.h22 class OutputSection;
58 OutputSection *parent = nullptr;
H A DOutputSegment.cpp41 for (const OutputSection *osec : sections) {
47 void OutputSegment::addOutputSection(OutputSection *osec) {
/freebsd-13-stable/contrib/llvm-project/lld/ELF/
H A DOutputSections.h32 class OutputSection final : public BaseCommand, public SectionBase {
34 OutputSection(StringRef name, uint32_t type, uint64_t flags);
62 OutputSection *relocationSection = nullptr;
65 // the OutputSection so far. Later on, after a call to assignAddresses, it
121 InputSection *getFirstInputSection(const OutputSection *os);
122 std::vector<InputSection *> getInputSections(const OutputSection *os);
131 static OutputSection *elfHeader;
132 static OutputSection *programHeaders;
133 static OutputSection *preinitArray;
134 static OutputSection *initArra
[all...]
H A DWriter.h21 class OutputSection;
35 void add(OutputSection *sec);
46 OutputSection *firstSec = nullptr;
47 OutputSection *lastSec = nullptr;
H A DOutputSections.cpp36 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 {
56 void OutputSection::writeHeaderTo(typename ELFT::Shdr *shdr) {
69 OutputSection::OutputSection(StringRe function in class:OutputSection
[all...]
H A DLinkerScript.h34 class OutputSection;
216 OutputSection *os;
237 OutputSection *outSec = nullptr;
243 llvm::DenseMap<StringRef, OutputSection *> nameToOutputSection;
255 std::vector<InputSectionBase *> createInputSectionList(OutputSection &cmd);
257 void discardSynthetic(OutputSection &);
259 std::vector<size_t> getPhdrIndices(OutputSection *sec);
261 MemoryRegion *findMemoryRegion(OutputSection *sec);
263 void switchTo(OutputSection *sec);
267 void assignOffsets(OutputSection *se
[all...]
H A DRelocations.h22 class OutputSection;
128 void hexagonTLSSymbolUpdate(ArrayRef<OutputSection *> outputSections);
129 bool hexagonNeedsTLSSymbol(ArrayRef<OutputSection *> outputSections);
138 bool createThunks(ArrayRef<OutputSection *> outputSections);
146 void mergeThunks(ArrayRef<OutputSection *> outputSections);
148 ThunkSection *getISDThunkSec(OutputSection *os, InputSection *isec,
154 void createInitialThunkSections(ArrayRef<OutputSection *> outputSections);
159 ThunkSection *addThunkSection(OutputSection *os, InputSectionDescription *,
H A DAArch64ErrataFix.h22 class OutputSection;
H A DARMErrataFix.h23 class OutputSection;
H A DLinkerScript.cpp52 OutputSection *os = sec->getOutputSection();
79 OutputSection *LinkerScript::createOutputSection(StringRef name,
81 OutputSection *&secRef = nameToOutputSection[name];
82 OutputSection *sec;
87 sec = make<OutputSection>(name, SHT_PROGBITS, 0);
95 OutputSection *LinkerScript::getOrCreateOutputSection(StringRef name) {
96 OutputSection *&cmdRef = nameToOutputSection[name];
98 cmdRef = make<OutputSection>(name, SHT_PROGBITS, 0);
227 for (BaseCommand *sub_base : cast<OutputSection>(base)->sectionCommands)
262 auto *to = dyn_cast<OutputSection>(bas
[all...]
H A DWriter.cpp87 void addStartStopSymbols(OutputSection *sec);
107 OutputSection *out = rel->getOutputSection();
171 // Clear OutputSection::ptLoad for sections contained in removed
174 for (OutputSection *sec : outputSections)
330 static OutputSection *findSection(StringRef name, unsigned partition = 1) {
332 if (auto *sec = dyn_cast<OutputSection>(base))
358 Out::programHeaders = make<OutputSection>("", 0, SHF_ALLOC);
596 for (OutputSection *sec : outputSections)
617 for (OutputSection *sec : outputSections)
787 auto *sec = dyn_cast<OutputSection>(bas
[all...]
H A DScriptParser.cpp89 bool readSectionDirective(OutputSection *cmd, StringRef tok1, StringRef tok2);
90 void readSectionAddressType(OutputSection *cmd);
91 OutputSection *readOverlaySectionDescription();
92 OutputSection *readOutputSectionDescription(StringRef outSec);
515 OutputSection *prev = nullptr;
519 OutputSection *os = readOverlaySectionDescription();
536 max = std::max(max, cast<OutputSection>(cmd)->size);
577 if (auto *os = dyn_cast<OutputSection>(cmd))
758 bool ScriptParser::readSectionDirective(OutputSection *cmd, StringRef tok1, StringRef tok2) {
787 void ScriptParser::readSectionAddressType(OutputSection *cm
[all...]
H A DMapFile.cpp89 OutputSection *osec = syms[i]->getOutputSection();
132 const OutputSection *osec = sec->getOutputSection();
163 OutputSection* osec = nullptr;
174 osec = cast<OutputSection>(base);
H A DRelocations.cpp589 OutputSection *osec = (isRO ? in.bssRelRo : in.bss)->getParent();
1550 ArrayRef<OutputSection *> outputSections,
1551 llvm::function_ref<void(OutputSection *, InputSectionDescription *)> fn) {
1552 for (OutputSection *os : outputSections) {
1648 // Insert the Thunks for OutputSection OS into their designated place
1652 void ThunkCreator::mergeThunks(ArrayRef<OutputSection *> outputSections) {
1654 outputSections, [&](OutputSection *os, InputSectionDescription *isd) {
1691 ThunkSection *ThunkCreator::getISDThunkSec(OutputSection *os, InputSection *isec,
1726 OutputSection *tos = isec->getParent();
1763 ArrayRef<OutputSection *> outputSection
[all...]

Completed in 142 milliseconds

12