Home
last modified time | relevance | path

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

/external/llvm-project/lld/wasm/
DSyntheticSections.h36 class SyntheticSection : public OutputSection {
38 SyntheticSection(uint32_t type, std::string name = "")
75 class DylinkSection : public SyntheticSection {
77 DylinkSection() : SyntheticSection(llvm::wasm::WASM_SEC_CUSTOM, "dylink") {} in DylinkSection()
85 class TypeSection : public SyntheticSection {
87 TypeSection() : SyntheticSection(llvm::wasm::WASM_SEC_TYPE) {} in TypeSection()
99 class ImportSection : public SyntheticSection {
101 ImportSection() : SyntheticSection(llvm::wasm::WASM_SEC_IMPORT) {} in ImportSection()
131 class FunctionSection : public SyntheticSection {
133 FunctionSection() : SyntheticSection(llvm::wasm::WASM_SEC_FUNCTION) {} in FunctionSection()
[all …]
DSyntheticSections.cpp418 : SyntheticSection(llvm::wasm::WASM_SEC_DATACOUNT), in DataCountSection()
/external/llvm-project/lld/ELF/
DSyntheticSections.h39 class SyntheticSection : public InputSection {
41 SyntheticSection(uint64_t flags, uint32_t type, uint32_t alignment, in SyntheticSection() function
48 virtual ~SyntheticSection() = default;
68 class EhFrameSection final : public SyntheticSection {
77 return SyntheticSection::classof(d) && d->name == ".eh_frame"; in classof()
124 class GotSection : public SyntheticSection {
152 class GnuStackSection : public SyntheticSection {
155 : SyntheticSection(0, llvm::ELF::SHT_PROGBITS, 1, ".note.GNU-stack") {} in GnuStackSection()
160 class GnuPropertySection : public SyntheticSection {
168 class BuildIdSection : public SyntheticSection {
[all …]
DSyntheticSections.cpp94 : SyntheticSection(SHF_ALLOC, SHT_MIPS_ABIFLAGS, 8, ".MIPS.abiflags"), in MipsAbiFlagsSection()
153 : SyntheticSection(SHF_ALLOC, SHT_MIPS_OPTIONS, 8, ".MIPS.options"), in MipsOptionsSection()
214 : SyntheticSection(SHF_ALLOC, SHT_MIPS_REGINFO, 4, ".reginfo"), in MipsReginfoSection()
303 : SyntheticSection(llvm::ELF::SHF_ALLOC, llvm::ELF::SHT_NOTE, in GnuPropertySection()
325 : SyntheticSection(SHF_ALLOC, SHT_NOTE, 4, ".note.gnu.build-id"), in BuildIdSection()
342 : SyntheticSection(SHF_ALLOC | SHF_WRITE, SHT_NOBITS, alignment, name) { in BssSection()
348 : SyntheticSection(SHF_ALLOC, SHT_PROGBITS, 1, ".eh_frame") {} in EhFrameSection()
647 : SyntheticSection(SHF_ALLOC | SHF_WRITE, SHT_PROGBITS, config->wordsize, in GotSection()
712 : SyntheticSection(SHF_ALLOC | SHF_WRITE | SHF_MIPS_GPREL, SHT_PROGBITS, 16, in MipsGotSection()
1128 : SyntheticSection(SHF_ALLOC | SHF_WRITE, SHT_PROGBITS, config->wordsize, in GotPltSection()
[all …]
DInputSection.h29 class SyntheticSection; variable
305 SyntheticSection *getParent() const;
342 SyntheticSection *getParent() const;
DARMErrataFix.cpp73 class elf::Patch657417Section : public SyntheticSection {
140 : SyntheticSection(SHF_ALLOC | SHF_EXECINSTR, SHT_PROGBITS, 4, in Patch657417Section()
478 if (isa<SyntheticSection>(isec)) in patchInputSectionDescription()
DAArch64ErrataFix.cpp373 class elf::Patch843419Section : public SyntheticSection {
396 : SyntheticSection(SHF_ALLOC | SHF_EXECINSTR, SHT_PROGBITS, 4, in Patch843419Section()
583 if (isa<SyntheticSection>(isec)) in patchInputSectionDescription()
DInputSection.cpp139 if (auto *s = dyn_cast<SyntheticSection>(this)) in getSize()
1225 if (auto *s = dyn_cast<SyntheticSection>(this)) { in writeTo()
1290 SyntheticSection *EhInputSection::getParent() const { in getParent()
1291 return cast_or_null<SyntheticSection>(parent); in getParent()
1348 SyntheticSection *MergeInputSection::getParent() const { in getParent()
1349 return cast_or_null<SyntheticSection>(parent); in getParent()
DTarget.cpp106 assert(isa<SyntheticSection>(isec) && "No data but not synthetic?"); in getErrPlace()
DWriter.cpp359 auto add = [](SyntheticSection *sec) { inputSections.push_back(sec); }; in createSyntheticSections()
401 auto add = [&](SyntheticSection *sec) { in createSyntheticSections()
816 if (isa<SyntheticSection>(isec) && !(isec->flags & SHF_MERGE)) in addSectionSymbols()
1688 static void finalizeSynthetic(SyntheticSection *sec) { in finalizeSynthetic()
1878 SyntheticSection *ss = dyn_cast<SyntheticSection>(s); in removeUnusedSyntheticSections()
DICF.cpp181 if (isa<SyntheticSection>(s)) in isEligible()
DOutputSections.cpp421 if (isa<SyntheticSection>(first)) in finalize()
DLinkerScript.cpp660 if (!isa<SyntheticSection>(isec) && in addInputSec()
/external/llvm-project/lld/MachO/
DSyntheticSections.h57 class SyntheticSection : public OutputSection {
59 SyntheticSection(const char *segname, const char *name);
60 virtual ~SyntheticSection() = default;
70 class LinkEditSection : public SyntheticSection {
73 : SyntheticSection(segname, name) { in LinkEditSection()
96 class MachHeaderSection : public SyntheticSection {
111 class PageZeroSection : public SyntheticSection {
124 class NonLazyPointerSectionBase : public SyntheticSection {
305 class StubsSection : public SyntheticSection {
320 class StubHelperSection : public SyntheticSection {
[all …]
DSyntheticSections.cpp35 std::vector<SyntheticSection *> macho::syntheticSections;
37 SyntheticSection::SyntheticSection(const char *segname, const char *name) in SyntheticSection() function in SyntheticSection
45 : SyntheticSection(segment_names::text, section_names::header) {} in MachHeaderSection()
95 : SyntheticSection(segment_names::pageZero, section_names::pageZero) {} in PageZeroSection()
190 : SyntheticSection(segname, name) { in NonLazyPointerSectionBase()
389 : SyntheticSection(segment_names::text, "__stubs") { in StubsSection()
414 : SyntheticSection(segment_names::text, "__stub_helper") {} in StubHelperSection()
455 : SyntheticSection(segment_names::data, "__la_symbol_ptr") { in LazyPointerSection()
DUnwindInfoSection.h41 class UnwindInfoSection : public SyntheticSection {
DUnwindInfoSection.cpp71 : SyntheticSection(segment_names::text, section_names::unwindInfo) { in UnwindInfoSection()
DWriter.cpp613 for (SyntheticSection *ssec : syntheticSections) { in createOutputSections()