Home
last modified time | relevance | path

Searched refs:MergeInputSection (Results 1 – 10 of 10) sorted by relevance

/src/contrib/llvm-project/lld/ELF/
H A DInputSection.cpp215 const MergeInputSection *ms = cast<MergeInputSection>(this); in getOffset()
232 else if (auto *ms = dyn_cast<MergeInputSection>(this)) in getOutputSection()
1364 void MergeInputSection::splitStrings(StringRef s, size_t entSize) { in splitStrings()
1387 void MergeInputSection::splitNonStrings(ArrayRef<uint8_t> data, in splitNonStrings()
1399 MergeInputSection::MergeInputSection(ObjFile<ELFT> &f, in MergeInputSection() function in MergeInputSection
1404 MergeInputSection::MergeInputSection(uint64_t flags, uint32_t type, in MergeInputSection() function in MergeInputSection
1416 void MergeInputSection::splitIntoPieces() { in splitIntoPieces()
1425 SectionPiece &MergeInputSection::getSectionPiece(uint64_t offset) { in getSectionPiece()
1433 uint64_t MergeInputSection::getParentOffset(uint64_t offset) const { in getParentOffset()
1461 template MergeInputSection::MergeInputSection(ObjFile<ELF32LE> &,
[all …]
H A DInputSection.h315 class MergeInputSection : public InputSectionBase {
318 MergeInputSection(ObjFile<ELFT> &f, const typename ELFT::Shdr &header,
320 MergeInputSection(uint64_t flags, uint32_t type, uint64_t entsize,
347 return const_cast<MergeInputSection *>(this)->getSectionPiece(offset); in getSectionPiece()
H A DICF.cpp294 auto *x = dyn_cast<MergeInputSection>(da->section); in constantEq()
297 auto *y = cast<MergeInputSection>(db->section); in constantEq()
H A DMarkLive.cpp193 if (auto *ms = dyn_cast<MergeInputSection>(sec)) in enqueue()
H A DSyntheticSections.h1083 void addSection(MergeInputSection *ms);
1084 SmallVector<MergeInputSection *, 0> sections;
1430 MergeInputSection *createCommentSection();
H A DOutputSections.cpp208 MergeInputSection *ms = dyn_cast<MergeInputSection>(s); in finalizeInputSections()
H A DSyntheticSections.cpp90 MergeInputSection *elf::createCommentSection() { in createCommentSection()
91 auto *sec = make<MergeInputSection>(SHF_MERGE | SHF_STRINGS, SHT_PROGBITS, 1, in createCommentSection()
3852 void MergeSyntheticSection::addSection(MergeInputSection *ms) { in addSection()
3871 for (MergeInputSection *sec : sections) in finalizeContents()
3882 for (MergeInputSection *sec : sections) in finalizeContents()
3913 for (MergeInputSection *sec : sections) { in finalizeContents()
3937 parallelForEach(sections, [&](MergeInputSection *sec) { in finalizeContents()
3953 if (auto *s = dyn_cast<MergeInputSection>(sec)) in splitSections()
H A DInputFiles.cpp898 if (auto *ms = dyn_cast<MergeInputSection>(s)) { in initializeSections()
1119 return makeThreadLocal<MergeInputSection>(*this, sec, name); in createInputSection()
H A DLinkerScript.cpp893 assert(isa<MergeInputSection>(s) || in addOrphanSections()
H A DWriter.cpp464 if (auto *s = dyn_cast<MergeInputSection>(sec)) in includeInSymtab()