Home
last modified time | relevance | path

Searched refs:OutputSegment (Results 1 – 22 of 22) sorted by relevance

/openbsd-src/gnu/llvm/lld/MachO/
H A DOutputSegment.cpp53 size_t OutputSegment::numNonHiddenSections() const { in numNonHiddenSections()
60 void OutputSegment::addOutputSection(OutputSection *osec) { in addOutputSection()
75 static int segmentOrder(OutputSegment *seg) { in segmentOrder()
152 void OutputSegment::sortOutputSections() { in sortOutputSections()
158 void OutputSegment::assignAddressesToStartEndSymbols() { in assignAddressesToStartEndSymbols()
167 compareByOrder<OutputSegment *>(segmentOrder)); in sortOutputSegments()
170 static DenseMap<StringRef, OutputSegment *> nameToOutputSegment;
171 std::vector<OutputSegment *> macho::outputSegments;
185 OutputSegment *macho::getOrCreateOutputSegment(StringRef name) { in getOrCreateOutputSegment()
188 OutputSegment *&segRef = nameToOutputSegment[name]; in getOrCreateOutputSegment()
[all …]
H A DOutputSegment.h41 class OutputSegment {
68 extern std::vector<OutputSegment *> outputSegments;
73 OutputSegment *getOrCreateOutputSegment(StringRef name);
H A DOutputSection.h23 class OutputSegment; variable
82 OutputSegment *parent = nullptr;
H A DWriter.cpp57 void assignAddresses(OutputSegment *);
82 OutputSegment *linkEditSegment = nullptr;
224 LCSegment(StringRef name, OutputSegment *seg) : name(name), seg(seg) {} in LCSegment()
273 OutputSegment *seg;
559 auto it = find_if(outputSegments, [](const OutputSegment *seg) { in writeTo()
772 for (OutputSegment *seg : outputSegments) { in createLoadCommands()
930 for (OutputSegment *seg : outputSegments) { in sortSegmentsAndSections()
1054 for (OutputSegment *seg : outputSegments) { in finalizeAddresses()
1072 for (OutputSegment *seg : outputSegments) { in finalizeAddresses()
1117 void Writer::assignAddresses(OutputSegment *seg) { in assignAddresses()
[all …]
H A DMapFile.cpp180 for (OutputSegment *seg : outputSegments) in writeMapFile()
191 for (const OutputSegment *seg : outputSegments) { in writeMapFile()
H A DCMakeLists.txt27 OutputSegment.cpp
H A DRelocations.cpp56 for (OutputSegment *seg : outputSegments) { in offsetToInputSection()
H A DSyntheticSections.cpp155 for (const OutputSegment *seg : outputSegments) { in writeTo()
228 static void encodeRebases(const OutputSegment *seg, in encodeRebases()
294 const OutputSegment *seg = locations[i].isec->parent->parent; in finalizeContents()
417 OutputSegment *segment = nullptr;
439 OutputSegment *seg = osec->parent; in encodeBinding()
952 OutputSegment *dataSeg = in.lazyPointers->parent; in encode()
1546 OutputSegment *textSeg = getOrCreateOutputSegment(segment_names::text); in writeTo()
2219 const OutputSegment *segA = a.isec->parent->parent; in finalizeContents()
2220 const OutputSegment *segB = b.isec->parent->parent; in finalizeContents()
H A DSyntheticSections.h766 SegmentInfo(const OutputSegment *oseg) : oseg(oseg) {} in SegmentInfo()
768 const OutputSegment *oseg;
H A DSymbolTable.cpp319 OutputSegment *seg = getOrCreateOutputSegment(segName); in handleSegmentBoundarySymbol()
/openbsd-src/gnu/llvm/lld/wasm/
H A DOutputSections.cpp101 unsigned segmentCount = llvm::count_if(segments, [](OutputSegment *segment) { in finalizeContents()
105 unsigned activeCount = llvm::count_if(segments, [](OutputSegment *segment) { in finalizeContents()
119 for (OutputSegment *segment : segments) { in finalizeContents()
179 for (const OutputSegment *segment : segments) { in writeTo()
194 for (const OutputSegment *seg : segments) in getNumRelocations()
201 for (const OutputSegment *seg : segments) in writeRelocations()
207 for (const OutputSegment *seg : segments) in isNeeded()
H A DWriter.cpp58 bool needsPassiveInitialization(const OutputSegment *segment);
86 OutputSegment *createOutputSegment(StringRef name);
120 std::vector<OutputSegment *> segments;
121 llvm::SmallDenseMap<StringRef, OutputSegment *> segmentMap;
291 for (OutputSegment *seg : segments) { in layoutMemory()
415 static void addStartStopSymbols(const OutputSegment *seg) { in addStartStopSymbols()
909 OutputSegment *Writer::createOutputSegment(StringRef name) { in createOutputSegment()
911 OutputSegment *s = make<OutputSegment>(name); in createOutputSegment()
926 OutputSegment *s = nullptr; in createOutputSegments()
943 [](const OutputSegment *a, const OutputSegment *b) { in createOutputSegments()
[all …]
H A DOutputSegment.h21 class OutputSegment {
23 OutputSegment(StringRef n) : name(n) {} in OutputSegment() function
H A DOutputSections.h27 class OutputSegment; variable
81 explicit DataSection(ArrayRef<OutputSegment *> segments) in DataSection()
95 ArrayRef<OutputSegment *> segments;
H A DOutputSegment.cpp22 void OutputSegment::addInputSegment(InputChunk *inSeg) { in addInputSegment()
40 void OutputSegment::finalizeInputSegments() { in finalizeInputSegments()
H A DSyntheticSections.h343 DataCountSection(ArrayRef<OutputSegment *> segments);
356 const std::vector<OutputSegment *> &dataSegments)
369 const std::vector<OutputSegment *> &dataSegments;
375 NameSection(ArrayRef<OutputSegment *> segments)
386 ArrayRef<OutputSegment *> segments;
H A DCMakeLists.txt13 OutputSegment.cpp
H A DInputChunks.h36 class OutputSegment; variable
94 const OutputSegment *outputSeg = nullptr;
H A DSyntheticSections.cpp600 DataCountSection::DataCountSection(ArrayRef<OutputSegment *> segments) in DataCountSection()
602 numSegments(llvm::count_if(segments, [](OutputSegment *const segment) { in DataCountSection()
671 for (const OutputSegment *s : dataSegments) { in writeBody()
759 for (const OutputSegment *s : segments) in numNamedDataSegments()
832 for (OutputSegment *s : segments) { in writeBody()
/openbsd-src/gnu/llvm/llvm/utils/gn/secondary/lld/wasm/
H A DBUILD.gn29 "OutputSegment.cpp",
/openbsd-src/gnu/llvm/llvm/utils/gn/secondary/lld/MachO/
H A DBUILD.gn45 "OutputSegment.cpp",
/openbsd-src/gnu/llvm/clang/docs/tools/
H A Dclang-formatted-files.txt3544 lld/MachO/OutputSegment.cpp
3545 lld/MachO/OutputSegment.h
3579 lld/wasm/OutputSegment.cpp
3580 lld/wasm/OutputSegment.h