Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/lld/ELF/
H A DSyntheticSections.h51 class EhFrameSection final : public SyntheticSection {
60 return SyntheticSection::classof(d) && d->name == ".eh_frame"; in classof()
105 class GotSection final : public SyntheticSection {
137 class GnuStackSection : public SyntheticSection {
140 : SyntheticSection(0, llvm::ELF::SHT_PROGBITS, 1, ".note.GNU-stack") {} in GnuStackSection()
145 class GnuPropertySection final : public SyntheticSection {
153 class BuildIdSection : public SyntheticSection {
172 class BssSection final : public SyntheticSection {
183 class MipsGotSection final : public SyntheticSection {
360 class GotPltSection final : public SyntheticSection {
[all …]
H A DInputSection.h32 class SyntheticSection; variable
350 SyntheticSection *getParent() const { in getParent()
351 return cast_or_null<SyntheticSection>(parent); in getParent()
389 SyntheticSection *getParent() const;
473 class SyntheticSection : public InputSection {
475 SyntheticSection(uint64_t flags, uint32_t type, uint32_t addralign, in SyntheticSection() function
480 virtual ~SyntheticSection() = default;
H A DSyntheticSections.cpp100 : SyntheticSection(SHF_ALLOC, SHT_MIPS_ABIFLAGS, 8, ".MIPS.abiflags"), in MipsAbiFlagsSection()
160 : SyntheticSection(SHF_ALLOC, SHT_MIPS_OPTIONS, 8, ".MIPS.options"), in MipsOptionsSection()
221 : SyntheticSection(SHF_ALLOC, SHT_MIPS_REGINFO, 4, ".reginfo"), in MipsReginfoSection()
317 : SyntheticSection(llvm::ELF::SHF_ALLOC, llvm::ELF::SHT_NOTE, in GnuPropertySection()
359 : SyntheticSection(SHF_ALLOC, SHT_NOTE, 4, ".note.gnu.build-id"), in BuildIdSection()
376 : SyntheticSection(SHF_ALLOC | SHF_WRITE, SHT_NOBITS, alignment, name) { in BssSection()
382 : SyntheticSection(SHF_ALLOC, SHT_PROGBITS, 1, ".eh_frame") {} in EhFrameSection()
651 : SyntheticSection(SHF_ALLOC | SHF_WRITE, SHT_PROGBITS, in GotSection()
734 : SyntheticSection(SHF_ALLOC | SHF_WRITE | SHF_MIPS_GPREL, SHT_PROGBITS, 16, in MipsGotSection()
1165 : SyntheticSection(SHF_ALLOC | SHF_WRITE, SHT_PROGBITS, config->wordsize, in GotPltSection()
[all …]
H A DAArch64ErrataFix.cpp373 class elf::Patch843419Section final : public SyntheticSection {
396 : SyntheticSection(SHF_ALLOC | SHF_EXECINSTR, SHT_PROGBITS, 4, in Patch843419Section()
581 if (isa<SyntheticSection>(isec)) in patchInputSectionDescription()
H A DARMErrataFix.cpp71 class elf::Patch657417Section final : public SyntheticSection {
138 : SyntheticSection(SHF_ALLOC | SHF_EXECINSTR, SHT_PROGBITS, 4, in Patch657417Section()
487 if (isa<SyntheticSection>(isec)) in patchInputSectionDescription()
H A DTarget.cpp111 assert(isa<SyntheticSection>(isec) && "No data but not synthetic?"); in getErrorPlace()
H A DWriter.cpp519 if (isa<SyntheticSection>(s) && !(s->flags & SHF_MERGE)) in addSectionSymbols()
1410 static void finalizeSynthetic(SyntheticSection *sec) { in finalizeSynthetic()
1656 return !isa<SyntheticSection>(s); in removeUnusedSyntheticSections()
1663 auto *sec = cast<SyntheticSection>(s); in removeUnusedSyntheticSections()
1682 if (OutputSection *osec = cast<SyntheticSection>(sec)->getParent()) in removeUnusedSyntheticSections()
H A DInputSection.cpp105 if (auto *s = dyn_cast<SyntheticSection>(this)) in getSize()
1279 SyntheticSection *EhInputSection::getParent() const { in getParent()
1280 return cast_or_null<SyntheticSection>(parent); in getParent()
H A DOutputSections.cpp534 if (auto *s = dyn_cast<SyntheticSection>(isec)) in writeTo()
741 if (!first || isa<SyntheticSection>(first)) in finalize()
H A DICF.cpp179 if (isa<SyntheticSection>(s)) in isEligible()
H A DLinkerScript.cpp791 if (!isa<SyntheticSection>(isec) && isStaticRelSecType(isec->type)) { in addInputSec()
/freebsd/contrib/llvm-project/lld/MachO/
H A DSyntheticSections.h42 class SyntheticSection : public OutputSection {
44 SyntheticSection(const char *segname, const char *name);
45 virtual ~SyntheticSection() = default;
58 class LinkEditSection : public SyntheticSection {
61 : SyntheticSection(segname, name) { in LinkEditSection()
86 class MachHeaderSection final : public SyntheticSection {
102 class PageZeroSection final : public SyntheticSection {
116 class NonLazyPointerSectionBase : public SyntheticSection {
280 class StubsSection final : public SyntheticSection {
306 class StubHelperSection final : public SyntheticSection {
[all …]
H A DUnwindInfoSection.h18 class UnwindInfoSection : public SyntheticSection {
H A DSyntheticSections.cpp61 std::vector<SyntheticSection *> macho::syntheticSections;
63 SyntheticSection::SyntheticSection(const char *segname, const char *name) in SyntheticSection() function in SyntheticSection
74 : SyntheticSection(segment_names::text, section_names::header) { in MachHeaderSection()
166 : SyntheticSection(segment_names::pageZero, section_names::pageZero) {} in PageZeroSection()
304 : SyntheticSection(segname, name) { in NonLazyPointerSectionBase()
706 : SyntheticSection(segment_names::text, section_names::stubs) { in StubsSection()
770 : SyntheticSection(segment_names::text, section_names::stubHelper) { in StubHelperSection()
884 : SyntheticSection(segment_names::text, section_names::objcStubs) { in ObjCStubsSection()
964 : SyntheticSection(segment_names::data, section_names::lazySymbolPtr) { in LazyPointerSection()
1642 : SyntheticSection(segment_names::text, name) { in CStringSection()
[all …]
H A DUnwindInfoSection.cpp173 : SyntheticSection(segment_names::text, section_names::unwindInfo) { in UnwindInfoSection()
H A DSymbolTable.cpp367 for (SyntheticSection *ssec : syntheticSections) in handleSectionBoundarySymbol()
H A DWriter.cpp1048 for (SyntheticSection *ssec : syntheticSections) { in createOutputSections()
/freebsd/contrib/llvm-project/lld/ELF/Arch/
H A DARM.cpp1330 : SyntheticSection(llvm::ELF::SHF_ALLOC | llvm::ELF::SHF_EXECINSTR, in ArmCmseSGSection()
1449 SmallVector<std::pair<OutputSection *, SyntheticSection *>, 0> osIsPairs; in writeARMCmseImportLib()
H A DRISCV.cpp1045 class RISCVAttributesSection final : public SyntheticSection {
1048 : SyntheticSection(0, SHT_RISCV_ATTRIBUTES, 1, ".riscv.attributes") {} in RISCVAttributesSection()