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.cpp59 size_t OutputSegment::numNonHiddenSections() const { in numNonHiddenSections()
66 void OutputSegment::addOutputSection(OutputSection *osec) { in addOutputSection()
81 static int segmentOrder(OutputSegment *seg) { in segmentOrder()
181 void OutputSegment::sortOutputSections() { in sortOutputSections()
187 void OutputSegment::assignAddressesToStartEndSymbols() { in assignAddressesToStartEndSymbols()
196 compareByOrder<OutputSegment *>(segmentOrder)); in sortOutputSegments()
199 static DenseMap<StringRef, OutputSegment *> nameToOutputSegment;
200 std::vector<OutputSegment *> macho::outputSegments;
214 OutputSegment *macho::getOrCreateOutputSegment(StringRef name) { in getOrCreateOutputSegment()
217 OutputSegment *&segRef = nameToOutputSegment[name]; in getOrCreateOutputSegment()
[all …]
H A DOutputSegment.h41 class OutputSegment {
69 extern std::vector<OutputSegment *> outputSegments;
74 OutputSegment *getOrCreateOutputSegment(StringRef name);
H A DOutputSection.h23 class OutputSegment; variable
83 OutputSegment *parent = nullptr;
H A DWriter.cpp56 void assignAddresses(OutputSegment *);
80 OutputSegment *linkEditSegment = nullptr;
222 LCSegment(StringRef name, OutputSegment *seg) : name(name), seg(seg) {} in LCSegment()
271 OutputSegment *seg;
582 auto it = find_if(outputSegments, [](const OutputSegment *seg) { in writeTo()
819 for (OutputSegment *seg : outputSegments) { in createLoadCommands()
984 for (OutputSegment *seg : outputSegments) { in sortSegmentsAndSections()
1106 for (OutputSegment *seg : outputSegments) { in finalizeAddresses()
1124 for (OutputSegment *seg : outputSegments) { in finalizeAddresses()
1168 void Writer::assignAddresses(OutputSegment *seg) { in assignAddresses()
[all …]
H A DMapFile.cpp195 for (OutputSegment *seg : outputSegments) in writeMapFile()
236 for (const OutputSegment *seg : outputSegments) { in writeMapFile()
H A DRelocations.cpp91 for (OutputSegment *seg : outputSegments) { in offsetToInputSection()
H A DSyntheticSections.cpp148 for (const OutputSegment *seg : outputSegments) { in writeTo()
221 static void encodeRebases(const OutputSegment *seg, in encodeRebases()
287 const OutputSegment *seg = locations[i].isec->parent->parent; in finalizeContents()
410 OutputSegment *segment = nullptr;
432 OutputSegment *seg = osec->parent; in encodeBinding()
1022 OutputSegment *dataSeg = in.lazyPointers->parent; in encode()
1655 OutputSegment *textSeg = getOrCreateOutputSegment(segment_names::text); in writeTo()
2502 const OutputSegment *segA = a.isec->parent->parent; in finalizeContents()
2503 const OutputSegment *segB = b.isec->parent->parent; in finalizeContents()
H A DSyntheticSections.h819 SegmentInfo(const OutputSegment *oseg) : oseg(oseg) {} in SegmentInfo()
821 const OutputSegment *oseg;
H A DSymbolTable.cpp401 OutputSegment *seg = getOrCreateOutputSegment(segName); in handleSegmentBoundarySymbol()