Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/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 *);
81 OutputSegment *linkEditSegment = nullptr;
223 LCSegment(StringRef name, OutputSegment *seg) : name(name), seg(seg) {} in LCSegment()
272 OutputSegment *seg;
558 auto it = find_if(outputSegments, [](const OutputSegment *seg) { in writeTo()
795 for (OutputSegment *seg : outputSegments) { in createLoadCommands()
955 for (OutputSegment *seg : outputSegments) { in sortSegmentsAndSections()
1077 for (OutputSegment *seg : outputSegments) { in finalizeAddresses()
1095 for (OutputSegment *seg : outputSegments) { in finalizeAddresses()
1139 void Writer::assignAddresses(OutputSegment *seg) { in assignAddresses()
[all …]
H A DMapFile.cpp197 for (OutputSegment *seg : outputSegments) in writeMapFile()
221 for (const OutputSegment *seg : outputSegments) { in writeMapFile()
H A DRelocations.cpp66 for (OutputSegment *seg : outputSegments) { in offsetToInputSection()
H A DSyntheticSections.cpp149 for (const OutputSegment *seg : outputSegments) { in writeTo()
222 static void encodeRebases(const OutputSegment *seg, in encodeRebases()
288 const OutputSegment *seg = locations[i].isec->parent->parent; in finalizeContents()
411 OutputSegment *segment = nullptr;
433 OutputSegment *seg = osec->parent; in encodeBinding()
1025 OutputSegment *dataSeg = in.lazyPointers->parent; in encode()
1631 OutputSegment *textSeg = getOrCreateOutputSegment(segment_names::text); in writeTo()
2478 const OutputSegment *segA = a.isec->parent->parent; in finalizeContents()
2479 const OutputSegment *segB = b.isec->parent->parent; in finalizeContents()
H A DSyntheticSections.h817 SegmentInfo(const OutputSegment *oseg) : oseg(oseg) {} in SegmentInfo()
819 const OutputSegment *oseg;
H A DSymbolTable.cpp396 OutputSegment *seg = getOrCreateOutputSegment(segName); in handleSegmentBoundarySymbol()