Home
last modified time | relevance | path

Searched refs:getELFSection (Results 1 – 25 of 44) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCObjectFileInfo.cpp391 BSSSection = Ctx->getELFSection(".bss", ELF::SHT_NOBITS, in initELFMCObjectFileInfo()
394 TextSection = Ctx->getELFSection(".text", ELF::SHT_PROGBITS, in initELFMCObjectFileInfo()
397 DataSection = Ctx->getELFSection(".data", ELF::SHT_PROGBITS, in initELFMCObjectFileInfo()
401 Ctx->getELFSection(".rodata", ELF::SHT_PROGBITS, ELF::SHF_ALLOC); in initELFMCObjectFileInfo()
404 Ctx->getELFSection(".tdata", ELF::SHT_PROGBITS, in initELFMCObjectFileInfo()
407 TLSBSSSection = Ctx->getELFSection( in initELFMCObjectFileInfo()
410 DataRelROSection = Ctx->getELFSection(".data.rel.ro", ELF::SHT_PROGBITS, in initELFMCObjectFileInfo()
414 Ctx->getELFSection(".rodata.cst4", ELF::SHT_PROGBITS, in initELFMCObjectFileInfo()
418 Ctx->getELFSection(".rodata.cst8", ELF::SHT_PROGBITS, in initELFMCObjectFileInfo()
422 Ctx->getELFSection(".rodata.cst16", ELF::SHT_PROGBITS, in initELFMCObjectFileInfo()
[all …]
H A DMCAsmInfoELF.cpp28 return Ctx.getELFSection(".note.GNU-stack", ELF::SHT_PROGBITS, 0); in MCAsmInfoELF()
H A DMCELFStreamer.cpp276 MCSection &Section = *getAssembler().getContext().getELFSection( in emitCommonSymbol()
339 MCSection *Comment = getAssembler().getContext().getELFSection( in emitIdent()
379 MCSection *CGProfile = getAssembler().getContext().getELFSection( in finalizeCGProfile()
624 AttributeSection = getContext().getELFSection(Section, Type, 0); in createAttributesSection()
688 AttributeSection = getContext().getELFSection(Section, Type, 0); in createAttributesWithSubsection()
H A DMCContext.cpp617 return getELFSection(Prefix + "." + Suffix, Type, Flags, EntrySize, Suffix, in getELFNamedSection()
621 MCSectionELF *MCContext::getELFSection(const Twine &Section, unsigned Type, in getELFSection() function in MCContext
630 return getELFSection(Section, Type, Flags, EntrySize, GroupSym, IsComdat, in getELFSection()
634 MCSectionELF *MCContext::getELFSection(const Twine &Section, unsigned Type, in getELFSection() function in MCContext
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreTargetObjectFile.cpp23 BSSSection = Ctx.getELFSection(".dp.bss", ELF::SHT_NOBITS, in Initialize()
26 BSSSectionLarge = Ctx.getELFSection(".dp.bss.large", ELF::SHT_NOBITS, in Initialize()
29 DataSection = Ctx.getELFSection(".dp.data", ELF::SHT_PROGBITS, in Initialize()
32 DataSectionLarge = Ctx.getELFSection(".dp.data.large", ELF::SHT_PROGBITS, in Initialize()
35 DataRelROSection = Ctx.getELFSection(".dp.rodata", ELF::SHT_PROGBITS, in Initialize()
38 DataRelROSectionLarge = Ctx.getELFSection( in Initialize()
42 Ctx.getELFSection(".cp.rodata", ELF::SHT_PROGBITS, in Initialize()
45 Ctx.getELFSection(".cp.rodata.large", ELF::SHT_PROGBITS, in Initialize()
47 MergeableConst4Section = Ctx.getELFSection( in Initialize()
50 MergeableConst8Section = Ctx.getELFSection( in Initialize()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetObjectFile.cpp32 SmallDataSection = getContext().getELFSection( in Initialize()
34 SmallBSSSection = getContext().getELFSection(".sbss", ELF::SHT_NOBITS, in Initialize()
37 getContext().getELFSection(".srodata", ELF::SHT_PROGBITS, ELF::SHF_ALLOC); in Initialize()
38 SmallROData4Section = getContext().getELFSection( in Initialize()
40 SmallROData8Section = getContext().getELFSection( in Initialize()
42 SmallROData16Section = getContext().getELFSection( in Initialize()
44 SmallROData32Section = getContext().getELFSection( in Initialize()
118 return getContext().getELFSection(Name.str(), ELF::SHT_NOBITS, in SelectSectionForGlobal()
129 return getContext().getELFSection(Name.str(), ELF::SHT_PROGBITS, in SelectSectionForGlobal()
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRTargetObjectFile.cpp24 Ctx.getELFSection(".progmem.data", ELF::SHT_PROGBITS, ELF::SHF_ALLOC); in Initialize()
26 Ctx.getELFSection(".progmem1.data", ELF::SHT_PROGBITS, ELF::SHF_ALLOC); in Initialize()
28 Ctx.getELFSection(".progmem2.data", ELF::SHT_PROGBITS, ELF::SHF_ALLOC); in Initialize()
30 Ctx.getELFSection(".progmem3.data", ELF::SHT_PROGBITS, ELF::SHF_ALLOC); in Initialize()
32 Ctx.getELFSection(".progmem4.data", ELF::SHT_PROGBITS, ELF::SHF_ALLOC); in Initialize()
34 Ctx.getELFSection(".progmem5.data", ELF::SHT_PROGBITS, ELF::SHF_ALLOC); in Initialize()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetObjectFile.cpp117 getContext().getELFSection(".sdata", ELF::SHT_PROGBITS, in Initialize()
121 getContext().getELFSection(".sbss", ELF::SHT_NOBITS, in Initialize()
181 return getContext().getELFSection(GO->getSection(), ELF::SHT_PROGBITS, in getExplicitSectionGlobal()
184 return getContext().getELFSection(GO->getSection(), ELF::SHT_PROGBITS, in getExplicitSectionGlobal()
374 return getContext().getELFSection(Name.str(), ELF::SHT_NOBITS, in selectSmallSectionForGlobal()
389 return getContext().getELFSection(Name.str(), ELF::SHT_NOBITS, in selectSmallSectionForGlobal()
418 return getContext().getELFSection(Name.str(), ELF::SHT_PROGBITS, in selectSmallSectionForGlobal()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kTargetObjectFile.cpp43 SmallDataSection = getContext().getELFSection( in Initialize()
46 SmallBSSSection = getContext().getELFSection(".sbss", ELF::SHT_NOBITS, in Initialize()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCContext.h558 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection() function
560 return getELFSection(Section, Type, Flags, 0, "", false); in getELFSection()
563 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection() function
565 return getELFSection(Section, Type, Flags, EntrySize, "", false, in getELFSection()
569 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection() function
572 return getELFSection(Section, Type, Flags, EntrySize, Group, IsComdat, in getELFSection()
576 LLVM_ABI MCSectionELF *getELFSection(const Twine &Section, unsigned Type,
582 LLVM_ABI MCSectionELF *getELFSection(const Twine &Section, unsigned Type,
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsOptionRecord.cpp36 Context.getELFSection(".MIPS.options", ELF::SHT_MIPS_OPTIONS, in EmitMipsOptionRecord()
53 MCSectionELF *Sec = Context.getELFSection(".reginfo", ELF::SHT_MIPS_REGINFO, in EmitMipsOptionRecord()
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiTargetObjectFile.cpp29 SmallDataSection = getContext().getELFSection( in Initialize()
31 SmallBSSSection = getContext().getELFSection(".sbss", ELF::SHT_NOBITS, in Initialize()
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/MCTargetDesc/
H A DXtensaTargetStreamer.cpp91 MCSection *ConstSection = Context.getELFSection( in emitLiteral()
111 MCSection *ConstSection = Context.getELFSection( in startLiteralSection()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600AsmPrinter.cpp113 Context.getELFSection(".AMDGPU.config", ELF::SHT_PROGBITS, 0); in runOnMachineFunction()
122 Context.getELFSection(".AMDGPU.csdata", ELF::SHT_PROGBITS, 0); in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsTargetObjectFile.cpp47 SmallDataSection = getContext().getELFSection( in Initialize()
51 SmallBSSSection = getContext().getELFSection(".sbss", ELF::SHT_NOBITS, in Initialize()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp313 auto *S = C.getELFSection(".deplibs", ELF::SHT_LLVM_DEPENDENT_LIBRARIES, in emitModuleMetadata()
358 auto *S = C.getELFSection(Section, ELF::SHT_PROGBITS, ELF::SHF_ALLOC); in emitModuleMetadata()
373 auto *S = C.getELFSection(".linker-options", ELF::SHT_LLVM_LINKER_OPTIONS, in emitLinkerDirectives()
841 MCSectionELF *Section = Ctx.getELFSection( in selectExplicitSectionGlobal()
904 return Ctx.getELFSection(Name, getELFSectionType(Name, Kind), Flags, in selectELFSectionForGlobal()
1020 return getContext().getELFSection( in getSectionForLSDA()
1064 return Context.getELFSection(".rodata.cst4." + SectionSuffix, in getSectionForConstant()
1068 return Context.getELFSection(".rodata.cst8." + SectionSuffix, in getSectionForConstant()
1072 return Context.getELFSection(".rodata.cst16." + SectionSuffix, in getSectionForConstant()
1076 return Context.getELFSection(".rodata.cst32." + SectionSuffix, in getSectionForConstant()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/MCTargetDesc/
H A DMSP430ELFStreamer.cpp40 MCSection *AttributeSection = getStreamer().getContext().getELFSection( in MSP430TargetELFStreamer()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DErlangGCPrinter.cpp48 OS.switchSection(AP.getObjFileLowering().getContext().getELFSection( in finishAssembly()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetObjectFile.cpp59 Ctx.getELFSection(".text", Type, Flags, 0, "", false, 0U, nullptr); in Initialize()
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430AsmPrinter.cpp166 MCSection *IV = OutStreamer->getContext().getELFSection( in EmitInterruptVectorSection()
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp193 getStreamer().switchSection(getContext().getELFSection(Section, Type, Flags), in parseSectionSwitch()
654 getContext().getELFSection(SectionName, Type, Flags, Size, GroupName, in parseSectionArguments()
832 MCSection *Note = getContext().getELFSection(".note", ELF::SHT_NOTE, 0); in parseDirectiveVersion()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64TargetStreamer.cpp88 MCSectionELF *Nt = Context.getELFSection(".note.gnu.property", ELF::SHT_NOTE, in emitNoteSection()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVTargetStreamer.cpp80 Ctx.getELFSection(".note.gnu.property", ELF::SHT_NOTE, ELF::SHF_ALLOC); in emitNoteGnuPropertySection()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCELFStreamer.cpp110 MCSection &Section = *getAssembler().getContext().getELFSection( in HexagonMCEmitCommonSymbol()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchAsmPrinter.cpp284 OutStreamer->switchSection(MMI->getContext().getELFSection( in emitJumpTableInfo()

12