Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DMCObjectFileInfo.cpp379 BSSSection = Ctx->getELFSection(".bss", ELF::SHT_NOBITS, in initELFMCObjectFileInfo()
382 TextSection = Ctx->getELFSection(".text", ELF::SHT_PROGBITS, in initELFMCObjectFileInfo()
385 DataSection = Ctx->getELFSection(".data", ELF::SHT_PROGBITS, in initELFMCObjectFileInfo()
389 Ctx->getELFSection(".rodata", ELF::SHT_PROGBITS, ELF::SHF_ALLOC); in initELFMCObjectFileInfo()
392 Ctx->getELFSection(".tdata", ELF::SHT_PROGBITS, in initELFMCObjectFileInfo()
395 TLSBSSSection = Ctx->getELFSection( in initELFMCObjectFileInfo()
398 DataRelROSection = Ctx->getELFSection(".data.rel.ro", ELF::SHT_PROGBITS, in initELFMCObjectFileInfo()
402 Ctx->getELFSection(".rodata.cst4", ELF::SHT_PROGBITS, in initELFMCObjectFileInfo()
406 Ctx->getELFSection(".rodata.cst8", ELF::SHT_PROGBITS, in initELFMCObjectFileInfo()
410 Ctx->getELFSection(".rodata.cst16", ELF::SHT_PROGBITS, in initELFMCObjectFileInfo()
[all …]
H A DMCAsmInfoELF.cpp24 return Ctx.getELFSection(".note.GNU-stack", ELF::SHT_PROGBITS, 0); in getNonexecutableStackSection()
H A DMCELFStreamer.cpp326 MCSection &Section = *getAssembler().getContext().getELFSection( in emitCommonSymbol()
390 MCSection *Comment = getAssembler().getContext().getELFSection( in emitIdent()
519 MCSection *CGProfile = getAssembler().getContext().getELFSection( in finalizeCGProfile()
845 AttributeSection = getContext().getELFSection(Section, Type, 0); in createAttributesSection()
H A DMCContext.cpp519 return getELFSection(Prefix + "." + Suffix, Type, Flags, EntrySize, Suffix, in getELFNamedSection()
523 MCSectionELF *MCContext::getELFSection(const Twine &Section, unsigned Type, in getELFSection() function in MCContext
532 return getELFSection(Section, Type, Flags, EntrySize, GroupSym, IsComdat, in getELFSection()
536 MCSectionELF *MCContext::getELFSection(const Twine &Section, unsigned Type, in getELFSection() function in MCContext
H A DELFObjectWriter.cpp641 Ctx.getELFSection(".symtab", ELF::SHT_SYMTAB, 0, EntrySize); in computeSymbolTable()
742 Ctx.getELFSection(".symtab_shndx", ELF::SHT_SYMTAB_SHNDX, 0, 4); in computeSymbolTable()
1087 Ctx.getELFSection(".strtab", ELF::SHT_STRTAB, 0); in writeObject()
1170 AddrsigSection = Ctx.getELFSection(".llvm_addrsig", ELF::SHT_LLVM_ADDRSIG, in writeObject()
/openbsd-src/gnu/llvm/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 …]
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Target/M68k/
H A DM68kTargetObjectFile.cpp43 SmallDataSection = getContext().getELFSection( in Initialize()
46 SmallBSSSection = getContext().getELFSection(".sbss", ELF::SHT_NOBITS, in Initialize()
/openbsd-src/gnu/llvm/llvm/include/llvm/MC/
H A DMCContext.h563 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection() function
565 return getELFSection(Section, Type, Flags, 0, "", false); in getELFSection()
568 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection() function
570 return getELFSection(Section, Type, Flags, EntrySize, "", false, in getELFSection()
574 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection() function
577 return getELFSection(Section, Type, Flags, EntrySize, Group, IsComdat, in getELFSection()
581 MCSectionELF *getELFSection(const Twine &Section, unsigned Type,
587 MCSectionELF *getELFSection(const Twine &Section, unsigned Type,
/openbsd-src/gnu/llvm/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsOptionRecord.cpp37 Context.getELFSection(".MIPS.options", ELF::SHT_MIPS_OPTIONS, in EmitMipsOptionRecord()
55 MCSectionELF *Sec = Context.getELFSection(".reginfo", ELF::SHT_MIPS_REGINFO, in EmitMipsOptionRecord()
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVTargetObjectFile.cpp21 SmallDataSection = getContext().getELFSection( in Initialize()
23 SmallBSSSection = getContext().getELFSection(".sbss", ELF::SHT_NOBITS, in Initialize()
/openbsd-src/gnu/llvm/llvm/lib/Target/Lanai/
H A DLanaiTargetObjectFile.cpp32 SmallDataSection = getContext().getELFSection( in Initialize()
34 SmallBSSSection = getContext().getELFSection(".sbss", ELF::SHT_NOBITS, in Initialize()
/openbsd-src/gnu/llvm/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()
H A DAMDGPUAsmPrinter.cpp474 Context.getELFSection(".AMDGPU.config", ELF::SHT_PROGBITS, 0); in runOnMachineFunction()
514 Context.getELFSection(".AMDGPU.csdata", ELF::SHT_PROGBITS, 0); in runOnMachineFunction()
612 Context.getELFSection(".AMDGPU.disasm", ELF::SHT_PROGBITS, 0)); in runOnMachineFunction()
/openbsd-src/gnu/llvm/llvm/lib/Target/Mips/
H A DMipsTargetObjectFile.cpp48 SmallDataSection = getContext().getELFSection( in Initialize()
52 SmallBSSSection = getContext().getELFSection(".sbss", ELF::SHT_NOBITS, in Initialize()
/openbsd-src/gnu/llvm/llvm/lib/Target/MSP430/MCTargetDesc/
H A DMSP430ELFStreamer.cpp44 MCSection *AttributeSection = getStreamer().getContext().getELFSection( in MSP430TargetELFStreamer()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp319 auto *S = C.getELFSection(".linker-options", ELF::SHT_LLVM_LINKER_OPTIONS, in emitModuleMetadata()
335 auto *S = C.getELFSection(".deplibs", ELF::SHT_LLVM_DEPENDENT_LIBRARIES, in emitModuleMetadata()
401 auto *S = C.getELFSection(Section, ELF::SHT_PROGBITS, ELF::SHF_ALLOC); in emitModuleMetadata()
823 MCSectionELF *Section = Ctx.getELFSection( in selectExplicitSectionGlobal()
890 return Ctx.getELFSection(Name, getELFSectionType(Name, Kind), Flags, in selectELFSectionForGlobal()
1000 return getContext().getELFSection( in getSectionForLSDA()
1070 return getContext().getELFSection(Name, ELF::SHT_PROGBITS, Flags, in getSectionForMachineBasicBlock()
1110 return Ctx.getELFSection(Name, Type, Flags, 0, Comdat, /*IsComdat=*/true); in getStaticStructorSection()
1163 return getContext().getELFSection(".GCC.command.line", ELF::SHT_PROGBITS, in getSectionForCommandLines()
1172 StaticCtorSection = Ctx.getELFSection(".ctors", ELF::SHT_PROGBITS, in InitializeELF()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DErlangGCPrinter.cpp48 OS.switchSection(AP.getObjFileLowering().getContext().getELFSection( in finishAssembly()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64TargetStreamer.cpp69 MCSectionELF *Nt = Context.getELFSection(".note.gnu.property", ELF::SHT_NOTE, in emitNoteSection()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMTargetObjectFile.cpp53 Ctx.getELFSection(".text", Type, Flags, 0, "", false, 0U, nullptr); in Initialize()
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCELFStreamer.cpp108 MCSection &Section = *getAssembler().getContext().getELFSection( in HexagonMCEmitCommonSymbol()
/openbsd-src/gnu/llvm/llvm/lib/Target/MSP430/
H A DMSP430AsmPrinter.cpp169 MCSection *IV = OutStreamer->getContext().getELFSection( in EmitInterruptVectorSection()
/openbsd-src/gnu/llvm/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp215 getStreamer().switchSection(getContext().getELFSection(Section, Type, Flags), in ParseSectionSwitch()
680 getContext().getELFSection(SectionName, Type, Flags, Size, GroupName, in ParseSectionArguments()
862 MCSection *Note = getContext().getELFSection(".note", ELF::SHT_NOTE, 0); in ParseDirectiveVersion()
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVELFStreamer.cpp79 AttributeSection = MCA.getContext().getELFSection( in finishAttributeSection()

12