Home
last modified time | relevance | path

Searched refs:SyntheticSection (Results 1 – 11 of 11) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/lld/ELF/
HDSyntheticSections.h38 class SyntheticSection : public InputSection {
40 SyntheticSection(uint64_t flags, uint32_t type, uint32_t alignment, in SyntheticSection() function
47 virtual ~SyntheticSection() = default;
67 class EhFrameSection final : public SyntheticSection {
76 return SyntheticSection::classof(d) && d->name == ".eh_frame"; in classof()
118 class GotSection : public SyntheticSection {
146 class GnuStackSection : public SyntheticSection {
149 : SyntheticSection(0, llvm::ELF::SHT_PROGBITS, 1, ".note.GNU-stack") {} in GnuStackSection()
154 class GnuPropertySection : public SyntheticSection {
162 class BuildIdSection : public SyntheticSection {
[all …]
HDSyntheticSections.cpp92 : SyntheticSection(SHF_ALLOC, SHT_MIPS_ABIFLAGS, 8, ".MIPS.abiflags"), in MipsAbiFlagsSection()
151 : SyntheticSection(SHF_ALLOC, SHT_MIPS_OPTIONS, 8, ".MIPS.options"), in MipsOptionsSection()
212 : SyntheticSection(SHF_ALLOC, SHT_MIPS_REGINFO, 4, ".reginfo"), in MipsReginfoSection()
301 : SyntheticSection(llvm::ELF::SHF_ALLOC, llvm::ELF::SHT_NOTE, in GnuPropertySection()
323 : SyntheticSection(SHF_ALLOC, SHT_NOTE, 4, ".note.gnu.build-id"), in BuildIdSection()
340 : SyntheticSection(SHF_ALLOC | SHF_WRITE, SHT_NOBITS, alignment, name) { in BssSection()
346 : SyntheticSection(SHF_ALLOC, SHT_PROGBITS, 1, ".eh_frame") {} in EhFrameSection()
600 : SyntheticSection(SHF_ALLOC | SHF_WRITE, SHT_PROGBITS, config->wordsize, in GotSection()
668 : SyntheticSection(SHF_ALLOC | SHF_WRITE | SHF_MIPS_GPREL, SHT_PROGBITS, 16, in MipsGotSection()
1084 : SyntheticSection(SHF_ALLOC | SHF_WRITE, SHT_PROGBITS, config->wordsize, in GotPltSection()
[all …]
HDInputSection.h29 class SyntheticSection; variable
272 SyntheticSection *getParent() const;
309 SyntheticSection *getParent() const;
HDAArch64ErrataFix.cpp374 class Patch843419Section : public SyntheticSection {
397 : SyntheticSection(SHF_ALLOC | SHF_EXECINSTR, SHT_PROGBITS, 4, in Patch843419Section()
586 if (isa<SyntheticSection>(isec)) in patchInputSectionDescription()
HDARMErrataFix.cpp74 class Patch657417Section : public SyntheticSection {
141 : SyntheticSection(SHF_ALLOC | SHF_EXECINSTR, SHT_PROGBITS, 4, in Patch657417Section()
481 if (isa<SyntheticSection>(isec)) in patchInputSectionDescription()
HDInputSection.cpp137 if (auto *s = dyn_cast<SyntheticSection>(this)) in getSize()
1115 if (auto *s = dyn_cast<SyntheticSection>(this)) { in writeTo()
1180 SyntheticSection *EhInputSection::getParent() const { in getParent()
1181 return cast_or_null<SyntheticSection>(parent); in getParent()
1238 SyntheticSection *MergeInputSection::getParent() const { in getParent()
1239 return cast_or_null<SyntheticSection>(parent); in getParent()
HDTarget.cpp106 assert(isa<SyntheticSection>(isec) && "No data but not synthetic?"); in getErrPlace()
HDWriter.cpp327 auto add = [](SyntheticSection *sec) { inputSections.push_back(sec); }; in createSyntheticSections()
369 auto add = [&](SyntheticSection *sec) { in createSyntheticSections()
732 if (isa<SyntheticSection>(isec) && !(isec->flags & SHF_MERGE)) in addSectionSymbols()
1621 static void finalizeSynthetic(SyntheticSection *sec) { in finalizeSynthetic()
1643 SyntheticSection *ss = dyn_cast<SyntheticSection>(s); in removeUnusedSyntheticSections()
HDICF.cpp179 if (isa<SyntheticSection>(s)) in isEligible()
HDOutputSections.cpp382 if (isa<SyntheticSection>(first)) in finalize()
HDLinkerScript.cpp588 if (!isa<SyntheticSection>(isec) && in addInputSec()