Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCObjectFileInfo.cpp390 BSSSection = Ctx->getELFSection(".bss", ELF::SHT_NOBITS, in initELFMCObjectFileInfo()
393 TextSection = Ctx->getELFSection(".text", ELF::SHT_PROGBITS, in initELFMCObjectFileInfo()
396 DataSection = Ctx->getELFSection(".data", ELF::SHT_PROGBITS, in initELFMCObjectFileInfo()
400 Ctx->getELFSection(".rodata", ELF::SHT_PROGBITS, ELF::SHF_ALLOC); in initELFMCObjectFileInfo()
403 Ctx->getELFSection(".tdata", ELF::SHT_PROGBITS, in initELFMCObjectFileInfo()
406 TLSBSSSection = Ctx->getELFSection( in initELFMCObjectFileInfo()
409 DataRelROSection = Ctx->getELFSection(".data.rel.ro", ELF::SHT_PROGBITS, in initELFMCObjectFileInfo()
413 Ctx->getELFSection(".rodata.cst4", ELF::SHT_PROGBITS, in initELFMCObjectFileInfo()
417 Ctx->getELFSection(".rodata.cst8", ELF::SHT_PROGBITS, in initELFMCObjectFileInfo()
421 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.cpp278 MCSection &Section = *getAssembler().getContext().getELFSection( in emitCommonSymbol()
342 MCSection *Comment = getAssembler().getContext().getELFSection( in emitIdent()
470 MCSection *CGProfile = getAssembler().getContext().getELFSection( in finalizeCGProfile()
740 AttributeSection = getContext().getELFSection(Section, Type, 0); in createAttributesSection()
H A DMCContext.cpp556 return getELFSection(Prefix + "." + Suffix, Type, Flags, EntrySize, Suffix, in getELFNamedSection()
560 MCSectionELF *MCContext::getELFSection(const Twine &Section, unsigned Type, in getELFSection() function in MCContext
569 return getELFSection(Section, Type, Flags, EntrySize, GroupSym, IsComdat, in getELFSection()
573 MCSectionELF *MCContext::getELFSection(const Twine &Section, unsigned Type, in getELFSection() function in MCContext
H A DELFObjectWriter.cpp499 Ctx.getELFSection(".symtab", ELF::SHT_SYMTAB, 0, EntrySize); in computeSymbolTable()
606 Ctx.getELFSection(".symtab_shndx", ELF::SHT_SYMTAB_SHNDX, 0, 4); in computeSymbolTable()
963 Ctx.getELFSection(".strtab", ELF::SHT_STRTAB, 0); in writeObject()
1043 AddrsigSection = Ctx.getELFSection(".llvm_addrsig", ELF::SHT_LLVM_ADDRSIG, in writeObject()
/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/AVR/
H A DAVRTargetObjectFile.cpp25 Ctx.getELFSection(".progmem.data", ELF::SHT_PROGBITS, ELF::SHF_ALLOC); in Initialize()
27 Ctx.getELFSection(".progmem1.data", ELF::SHT_PROGBITS, ELF::SHF_ALLOC); in Initialize()
29 Ctx.getELFSection(".progmem2.data", ELF::SHT_PROGBITS, ELF::SHF_ALLOC); in Initialize()
31 Ctx.getELFSection(".progmem3.data", ELF::SHT_PROGBITS, ELF::SHF_ALLOC); in Initialize()
33 Ctx.getELFSection(".progmem4.data", ELF::SHT_PROGBITS, ELF::SHF_ALLOC); in Initialize()
35 Ctx.getELFSection(".progmem5.data", ELF::SHT_PROGBITS, ELF::SHF_ALLOC); in Initialize()
/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()
/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()
375 return getContext().getELFSection(Name.str(), ELF::SHT_NOBITS, in selectSmallSectionForGlobal()
390 return getContext().getELFSection(Name.str(), ELF::SHT_NOBITS, in selectSmallSectionForGlobal()
419 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.h551 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection() function
553 return getELFSection(Section, Type, Flags, 0, "", false); in getELFSection()
556 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection() function
558 return getELFSection(Section, Type, Flags, EntrySize, "", false, in getELFSection()
562 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection() function
565 return getELFSection(Section, Type, Flags, EntrySize, Group, IsComdat, in getELFSection()
569 MCSectionELF *getELFSection(const Twine &Section, unsigned Type,
575 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.cpp32 SmallDataSection = getContext().getELFSection( in Initialize()
34 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.cpp48 SmallDataSection = getContext().getELFSection( in Initialize()
52 SmallBSSSection = getContext().getELFSection(".sbss", ELF::SHT_NOBITS, in Initialize()
/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/
H A DTargetLoweringObjectFileImpl.cpp310 auto *S = C.getELFSection(".linker-options", ELF::SHT_LLVM_LINKER_OPTIONS, in emitModuleMetadata()
326 auto *S = C.getELFSection(".deplibs", ELF::SHT_LLVM_DEPENDENT_LIBRARIES, in emitModuleMetadata()
392 auto *S = C.getELFSection(Section, ELF::SHT_PROGBITS, ELF::SHF_ALLOC); in emitModuleMetadata()
820 MCSectionELF *Section = Ctx.getELFSection( in selectExplicitSectionGlobal()
882 return Ctx.getELFSection(Name, getELFSectionType(Name, Kind), Flags, in selectELFSectionForGlobal()
992 return getContext().getELFSection( in getSectionForLSDA()
1073 return getContext().getELFSection(Name, ELF::SHT_PROGBITS, Flags, in getSectionForMachineBasicBlock()
1113 return Ctx.getELFSection(Name, Type, Flags, 0, Comdat, /*IsComdat=*/true); in getStaticStructorSection()
1166 return getContext().getELFSection(".GCC.command.line", ELF::SHT_PROGBITS, in getSectionForCommandLines()
1175 StaticCtorSection = Ctx.getELFSection(".ctors", ELF::SHT_PROGBITS, in InitializeELF()
[all …]
/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/AArch64/MCTargetDesc/
H A DAArch64TargetStreamer.cpp77 MCSectionELF *Nt = Context.getELFSection(".note.gnu.property", ELF::SHT_NOTE, in emitNoteSection()
H A DAArch64ELFStreamer.cpp306 MemtagSec = Ctx.getELFSection(".memtag.globals.static", in finish()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetObjectFile.cpp54 Ctx.getELFSection(".text", Type, Flags, 0, "", false, 0U, nullptr); in Initialize()
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430AsmPrinter.cpp169 MCSection *IV = OutStreamer->getContext().getELFSection( in EmitInterruptVectorSection()
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp216 getStreamer().switchSection(getContext().getELFSection(Section, Type, Flags), in ParseSectionSwitch()
695 getContext().getELFSection(SectionName, Type, Flags, Size, GroupName, in ParseSectionArguments()
869 MCSection *Note = getContext().getELFSection(".note", ELF::SHT_NOTE, 0); in ParseDirectiveVersion()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCELFStreamer.cpp110 MCSection &Section = *getAssembler().getContext().getELFSection( in HexagonMCEmitCommonSymbol()

12