| /openbsd-src/gnu/llvm/lld/MachO/ |
| H A D | OutputSegment.cpp | 53 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 D | OutputSegment.h | 41 class OutputSegment { 68 extern std::vector<OutputSegment *> outputSegments; 73 OutputSegment *getOrCreateOutputSegment(StringRef name);
|
| H A D | OutputSection.h | 23 class OutputSegment; variable 82 OutputSegment *parent = nullptr;
|
| H A D | Writer.cpp | 57 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 D | MapFile.cpp | 180 for (OutputSegment *seg : outputSegments) in writeMapFile() 191 for (const OutputSegment *seg : outputSegments) { in writeMapFile()
|
| H A D | CMakeLists.txt | 27 OutputSegment.cpp
|
| H A D | Relocations.cpp | 56 for (OutputSegment *seg : outputSegments) { in offsetToInputSection()
|
| H A D | SyntheticSections.cpp | 155 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 D | SyntheticSections.h | 766 SegmentInfo(const OutputSegment *oseg) : oseg(oseg) {} in SegmentInfo() 768 const OutputSegment *oseg;
|
| H A D | SymbolTable.cpp | 319 OutputSegment *seg = getOrCreateOutputSegment(segName); in handleSegmentBoundarySymbol()
|
| /openbsd-src/gnu/llvm/lld/wasm/ |
| H A D | OutputSections.cpp | 101 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 D | Writer.cpp | 58 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 D | OutputSegment.h | 21 class OutputSegment { 23 OutputSegment(StringRef n) : name(n) {} in OutputSegment() function
|
| H A D | OutputSections.h | 27 class OutputSegment; variable 81 explicit DataSection(ArrayRef<OutputSegment *> segments) in DataSection() 95 ArrayRef<OutputSegment *> segments;
|
| H A D | OutputSegment.cpp | 22 void OutputSegment::addInputSegment(InputChunk *inSeg) { in addInputSegment() 40 void OutputSegment::finalizeInputSegments() { in finalizeInputSegments()
|
| H A D | SyntheticSections.h | 343 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 D | CMakeLists.txt | 13 OutputSegment.cpp
|
| H A D | InputChunks.h | 36 class OutputSegment; variable 94 const OutputSegment *outputSeg = nullptr;
|
| H A D | SyntheticSections.cpp | 600 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 D | BUILD.gn | 29 "OutputSegment.cpp",
|
| /openbsd-src/gnu/llvm/llvm/utils/gn/secondary/lld/MachO/ |
| H A D | BUILD.gn | 45 "OutputSegment.cpp",
|
| /openbsd-src/gnu/llvm/clang/docs/tools/ |
| H A D | clang-formatted-files.txt | 3544 lld/MachO/OutputSegment.cpp 3545 lld/MachO/OutputSegment.h 3579 lld/wasm/OutputSegment.cpp 3580 lld/wasm/OutputSegment.h
|