Home
last modified time | relevance | path

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

/llvm-project-15.0.7/lld/MachO/
H A DOutputSegment.cpp47 size_t OutputSegment::numNonHiddenSections() const { in numNonHiddenSections()
54 void OutputSegment::addOutputSection(OutputSection *osec) { in addOutputSection()
69 static int segmentOrder(OutputSegment *seg) { in segmentOrder()
143 void OutputSegment::sortOutputSections() { in sortOutputSections()
149 void OutputSegment::assignAddressesToStartEndSymbols() { in assignAddressesToStartEndSymbols()
158 compareByOrder<OutputSegment *>(segmentOrder)); in sortOutputSegments()
161 static DenseMap<StringRef, OutputSegment *> nameToOutputSegment;
162 std::vector<OutputSegment *> macho::outputSegments;
176 OutputSegment *macho::getOrCreateOutputSegment(StringRef name) { in getOrCreateOutputSegment()
179 OutputSegment *&segRef = nameToOutputSegment[name]; in getOrCreateOutputSegment()
[all …]
H A DOutputSegment.h42 class OutputSegment {
68 extern std::vector<OutputSegment *> outputSegments;
73 OutputSegment *getOrCreateOutputSegment(StringRef name);
H A DOutputSection.h24 class OutputSegment; variable
83 OutputSegment *parent = nullptr;
H A DWriter.cpp59 void assignAddresses(OutputSegment *);
82 OutputSegment *linkEditSegment = nullptr;
224 LCSegment(StringRef name, OutputSegment *seg) : name(name), seg(seg) {} in LCSegment()
272 OutputSegment *seg;
530 auto it = find_if(outputSegments, [](const OutputSegment *seg) { in writeTo()
734 for (OutputSegment *seg : outputSegments) { in createLoadCommands()
884 for (OutputSegment *seg : outputSegments) { in sortSegmentsAndSections()
1002 for (OutputSegment *seg : outputSegments) { in finalizeAddresses()
1020 for (OutputSegment *seg : outputSegments) { in finalizeAddresses()
1069 void Writer::assignAddresses(OutputSegment *seg) { in assignAddresses()
[all …]
H A DCMakeLists.txt27 OutputSegment.cpp
H A DRelocations.cpp56 for (OutputSegment *seg : outputSegments) { in offsetToInputSection()
H A DSyntheticSections.cpp144 for (const OutputSegment *seg : outputSegments) { in writeTo()
217 static void encodeRebases(const OutputSegment *seg, in encodeRebases()
283 const OutputSegment *seg = locations[i].isec->parent->parent; in finalizeContents()
354 OutputSegment *segment = nullptr;
376 OutputSegment *seg = osec->parent; in encodeBinding()
780 OutputSegment *dataSeg = in.lazyPointers->parent; in encode()
1361 OutputSegment *textSeg = getOrCreateOutputSegment(segment_names::text); in writeTo()
H A DMapFile.cpp145 for (OutputSegment *seg : outputSegments) in writeMapFile()
H A DSymbolTable.cpp313 OutputSegment *seg = getOrCreateOutputSegment(segName); in handleSegmentBoundarySymbol()
/llvm-project-15.0.7/lld/wasm/
H A DOutputSections.cpp103 [](OutputSegment *segment) { return segment->requiredInBinary(); }); in finalizeContents()
106 segments.begin(), segments.end(), [](OutputSegment *segment) { in finalizeContents()
120 for (OutputSegment *segment : segments) { in finalizeContents()
180 for (const OutputSegment *segment : segments) { in writeTo()
195 for (const OutputSegment *seg : segments) in getNumRelocations()
202 for (const OutputSegment *seg : segments) in writeRelocations()
208 for (const OutputSegment *seg : segments) in isNeeded()
H A DWriter.cpp119 std::vector<OutputSegment *> segments;
272 for (OutputSegment *seg : segments) { in layoutMemory()
886 OutputSegment *s = make<OutputSegment>(name); in createOutputSegment()
901 OutputSegment *s = nullptr; in createOutputSegments()
918 [](const OutputSegment *a, const OutputSegment *b) { in createOutputSegments()
935 for (OutputSegment *seg : segments) in createOutputSegments()
949 OutputSegment *combined = make<OutputSegment>(".data"); in combineOutputSegments()
951 for (OutputSegment *s : segments) { in combineOutputSegments()
1167 for (const OutputSegment *s : segments) { in createInitMemoryFunction()
1254 for (const OutputSegment *s : segments) { in createInitMemoryFunction()
[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.h342 DataCountSection(ArrayRef<OutputSegment *> segments);
355 const std::vector<OutputSegment *> &dataSegments)
368 const std::vector<OutputSegment *> &dataSegments;
374 NameSection(ArrayRef<OutputSegment *> segments)
385 ArrayRef<OutputSegment *> segments;
H A DCMakeLists.txt13 OutputSegment.cpp
H A DInputChunks.h35 class OutputSegment; variable
93 const OutputSegment *outputSeg = nullptr;
H A DSyntheticSections.cpp598 DataCountSection::DataCountSection(ArrayRef<OutputSegment *> segments) in DataCountSection()
601 [](OutputSegment *const segment) { in DataCountSection()
670 for (const OutputSegment *s : dataSegments) { in writeBody()
758 for (const OutputSegment *s : segments) in numNamedDataSegments()
831 for (OutputSegment *s : segments) { in writeBody()
/llvm-project-15.0.7/llvm/utils/gn/secondary/lld/wasm/
H A DBUILD.gn28 "OutputSegment.cpp",
/llvm-project-15.0.7/llvm/utils/gn/secondary/lld/MachO/
H A DBUILD.gn44 "OutputSegment.cpp",
/llvm-project-15.0.7/clang/docs/tools/
H A Dclang-formatted-files.txt3548 lld/MachO/OutputSegment.cpp
3549 lld/MachO/OutputSegment.h
3583 lld/wasm/OutputSegment.cpp
3584 lld/wasm/OutputSegment.h