| /freebsd/contrib/llvm-project/lld/ELF/ |
| H A D | SyntheticSections.h | 51 class EhFrameSection final : public SyntheticSection { 60 return SyntheticSection::classof(d) && d->name == ".eh_frame"; in classof() 105 class GotSection final : public SyntheticSection { 144 class GnuStackSection : public SyntheticSection { 147 : SyntheticSection(ctx, ".note.GNU-stack", llvm::ELF::SHT_PROGBITS, 0, in GnuStackSection() 153 class GnuPropertySection final : public SyntheticSection { 161 class BuildIdSection : public SyntheticSection { 180 class BssSection final : public SyntheticSection { 188 return isa<SyntheticSection>(s) && cast<SyntheticSection>(s)->bss; in classof() 193 class MipsGotSection final : public SyntheticSection { [all …]
|
| H A D | Config.h | 76 class SyntheticSection; variable 571 std::unique_ptr<SyntheticSection> hexagonAttributes; 572 std::unique_ptr<SyntheticSection> riscvAttributes; 575 std::unique_ptr<SyntheticSection> gnuProperty; 576 std::unique_ptr<SyntheticSection> gnuStack; 581 std::unique_ptr<SyntheticSection> armCmseSGSection; 583 std::unique_ptr<SyntheticSection> mipsAbiFlags; 585 std::unique_ptr<SyntheticSection> mipsOptions; 586 std::unique_ptr<SyntheticSection> mipsReginfo; 588 std::unique_ptr<SyntheticSection> partEnd; [all …]
|
| H A D | InputSection.h | 32 class SyntheticSection; variable 368 SyntheticSection *getParent() const { in getParent() 369 return cast_or_null<SyntheticSection>(parent); in getParent() 407 SyntheticSection *getParent() const; 494 class SyntheticSection : public InputSection { 497 SyntheticSection(Ctx &ctx, StringRef name, uint32_t type, uint64_t flags, in SyntheticSection() function 503 virtual ~SyntheticSection() = default;
|
| H A D | SyntheticSections.cpp | 99 : SyntheticSection(ctx, ".MIPS.abiflags", SHT_MIPS_ABIFLAGS, SHF_ALLOC, 8), in MipsAbiFlagsSection() 160 : SyntheticSection(ctx, ".MIPS.options", SHT_MIPS_OPTIONS, SHF_ALLOC, 8), in MipsOptionsSection() 222 : SyntheticSection(ctx, ".reginfo", SHT_MIPS_REGINFO, SHF_ALLOC, 4), in MipsReginfoSection() 321 : SyntheticSection(ctx, ".note.gnu.property", SHT_NOTE, SHF_ALLOC, in GnuPropertySection() 376 : SyntheticSection(ctx, ".note.gnu.build-id", SHT_NOTE, SHF_ALLOC, 4), in BuildIdSection() 394 : SyntheticSection(ctx, name, SHT_NOBITS, SHF_ALLOC | SHF_WRITE, in BssSection() 401 : SyntheticSection(ctx, ".eh_frame", SHT_PROGBITS, SHF_ALLOC, 1) {} in EhFrameSection() 672 : SyntheticSection(ctx, ".got", SHT_PROGBITS, SHF_ALLOC | SHF_WRITE, in GotSection() 781 : SyntheticSection(ctx, ".got", SHT_PROGBITS, in MipsGotSection() 1215 : SyntheticSection(ctx, ".got.plt", SHT_PROGBITS, SHF_ALLOC | SHF_WRITE, in GotPltSection() [all …]
|
| H A D | AArch64ErrataFix.cpp | 371 class elf::Patch843419Section final : public SyntheticSection { 394 : SyntheticSection(ctx, ".text.patch", SHT_PROGBITS, in Patch843419Section() 580 if (isa<SyntheticSection>(isec)) in patchInputSectionDescription()
|
| H A D | ARMErrataFix.cpp | 69 class elf::Patch657417Section final : public SyntheticSection { 137 : SyntheticSection(ctx, ".text.patch", SHT_PROGBITS, in Patch657417Section() 494 if (isa<SyntheticSection>(isec)) in patchInputSectionDescription()
|
| H A D | MapFile.cpp | 62 (isa<SyntheticSection>(dr->section) && in getSymbols() 63 cast<SyntheticSection>(dr->section)->bss))) in getSymbols()
|
| H A D | Target.cpp | 102 assert(isa<SyntheticSection>(isec) && "No data but not synthetic?"); in getErrorPlace()
|
| H A D | OutputSections.cpp | 551 if (auto *s = dyn_cast<SyntheticSection>(isec)) in writeTo() 764 if (!first || isa<SyntheticSection>(first)) in finalize() 907 if (!SyntheticSection::classof(sections[i]) || in checkDynRelAddends()
|
| H A D | Writer.cpp | 537 if (isa<SyntheticSection>(s) && !(s->flags & SHF_MERGE)) in addSectionSymbols() 1461 static void finalizeSynthetic(Ctx &ctx, SyntheticSection *sec) { in finalizeSynthetic() 1759 return !isa<SyntheticSection>(s); in removeUnusedSyntheticSections() 1766 auto *sec = cast<SyntheticSection>(s); in removeUnusedSyntheticSections() 1784 if (OutputSection *osec = cast<SyntheticSection>(sec)->getParent()) in removeUnusedSyntheticSections() 2225 if (isa<SyntheticSection>(sec)) in checkExecuteOnlyReport()
|
| H A D | InputSection.cpp | 114 if (auto *s = dyn_cast<SyntheticSection>(this)) in getSize() 1348 SyntheticSection *EhInputSection::getParent() const { in getParent() 1349 return cast_or_null<SyntheticSection>(parent); in getParent()
|
| H A D | ICF.cpp | 180 if (isa<SyntheticSection>(s)) in isEligible()
|
| H A D | LinkerScript.cpp | 916 if (!isa<SyntheticSection>(isec) && isStaticRelSecType(isec->type)) { in addInputSec()
|
| /freebsd/contrib/llvm-project/lld/MachO/ |
| H A D | SyntheticSections.h | 42 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 D | UnwindInfoSection.h | 18 class UnwindInfoSection : public SyntheticSection {
|
| H A D | SyntheticSections.cpp | 60 std::vector<SyntheticSection *> macho::syntheticSections; 62 SyntheticSection::SyntheticSection(const char *segname, const char *name) in SyntheticSection() function in SyntheticSection 73 : SyntheticSection(segment_names::text, section_names::header) { in MachHeaderSection() 165 : SyntheticSection(segment_names::pageZero, section_names::pageZero) {} in PageZeroSection() 303 : SyntheticSection(segname, name) { in NonLazyPointerSectionBase() 705 : SyntheticSection(segment_names::text, section_names::stubs) { in StubsSection() 769 : SyntheticSection(segment_names::text, section_names::stubHelper) { in StubHelperSection() 883 : SyntheticSection(segment_names::text, section_names::objcStubs) { in ObjCStubsSection() 961 : SyntheticSection(segment_names::data, section_names::lazySymbolPtr) { in LazyPointerSection() 1666 : SyntheticSection(segment_names::text, name) { in CStringSection() [all …]
|
| H A D | UnwindInfoSection.cpp | 173 : SyntheticSection(segment_names::text, section_names::unwindInfo) { in UnwindInfoSection()
|
| H A D | SymbolTable.cpp | 372 for (SyntheticSection *ssec : syntheticSections) in handleSectionBoundarySymbol()
|
| H A D | Writer.cpp | 1077 for (SyntheticSection *ssec : syntheticSections) { in createOutputSections()
|
| /freebsd/contrib/llvm-project/lld/ELF/Arch/ |
| H A D | Hexagon.cpp | 473 class HexagonAttributesSection final : public SyntheticSection { 476 : SyntheticSection(ctx, ".hexagon.attributes", SHT_HEXAGON_ATTRIBUTES, 0, in HexagonAttributesSection()
|
| H A D | RISCV.cpp | 1075 class RISCVAttributesSection final : public SyntheticSection { 1078 : SyntheticSection(ctx, ".riscv.attributes", SHT_RISCV_ATTRIBUTES, 0, 1) { in RISCVAttributesSection()
|
| H A D | ARM.cpp | 1330 : SyntheticSection(ctx, ".gnu.sgstubs", SHT_PROGBITS, in ArmCmseSGSection() 1451 SmallVector<std::pair<std::unique_ptr<OutputSection>, SyntheticSection *>, 0> in writeARMCmseImportLib()
|