Home
last modified time | relevance | path

Searched refs:MCSectionELF (Results 1 – 25 of 40) sorted by relevance

12

/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DELFObjectWriter.cpp68 using SectionIndexMapTy = DenseMap<const MCSectionELF *, uint32_t>;
73 bool isDwoSection(const MCSectionELF &Sec) { in isDwoSection()
138 std::vector<const MCSectionELF *> SectionTable;
139 unsigned addToSectionTable(const MCSectionELF *Sec);
143 bool usesRela(const MCSectionELF &Sec) const;
175 std::map<const MCSectionELF *, std::pair<uint64_t, uint64_t>>;
192 MCSectionELF *createRelocationSection(MCContext &Ctx,
193 const MCSectionELF &Sec);
209 void writeRelocations(const MCAssembler &Asm, const MCSectionELF &Sec);
214 const MCSectionELF &Section);
[all …]
H A DMCSectionELF.cpp22 bool MCSectionELF::shouldOmitSectionDirective(StringRef Name, in shouldOmitSectionDirective()
53 void MCSectionELF::printSwitchToSection(const MCAsmInfo &MAI, const Triple &T, in printSwitchToSection()
208 bool MCSectionELF::useCodeAlign() const { in useCodeAlign()
212 bool MCSectionELF::isVirtualSection() const { in isVirtualSection()
216 StringRef MCSectionELF::getVirtualSectionKind() const { return "SHT_NOBITS"; } in getVirtualSectionKind()
H A DMCContext.cpp465 MCSectionELF *MCContext::createELFSectionImpl(StringRef Section, unsigned Type, in createELFSectionImpl()
490 MCSectionELF(Section, Type, Flags, K, EntrySize, Group, Comdat, UniqueID, in createELFSectionImpl()
501 MCSectionELF *MCContext::createELFRelSection(const Twine &Name, unsigned Type, in createELFRelSection()
504 const MCSectionELF *RelInfoSection) { in createELFRelSection()
515 MCSectionELF *MCContext::getELFNamedSection(const Twine &Prefix, in getELFNamedSection()
523 MCSectionELF *MCContext::getELFSection(const Twine &Section, unsigned Type, in getELFSection()
536 MCSectionELF *MCContext::getELFSection(const Twine &Section, unsigned Type, in getELFSection()
595 MCSectionELF *Result = in getELFSection()
606 MCSectionELF *MCContext::createELFGroupSection(const MCSymbolELF *Group, in createELFGroupSection()
H A DMCObjectFileInfo.cpp1114 const MCSectionELF &ElfSec = static_cast<const MCSectionELF &>(TextSec); in getStackSizesSection()
1132 const MCSectionELF &ElfSec = static_cast<const MCSectionELF &>(TextSec); in getBBAddrMapSection()
1152 const MCSectionELF &ElfSec = static_cast<const MCSectionELF &>(TextSec); in getKCFITrapSection()
1169 const auto &ElfSec = static_cast<const MCSectionELF &>(TextSec); in getPseudoProbeSection()
1172 auto *S = static_cast<MCSectionELF *>(PseudoProbeSection); in getPseudoProbeSection()
1195 auto *S = static_cast<MCSectionELF *>(PseudoProbeDescSection); in getPseudoProbeDescSection()
1222 const auto &ElfSec = static_cast<const MCSectionELF &>(*TextSec); in getPCSection()
H A DMCELFObjectTargetWriter.cpp31 MCSectionELF &Sec) {} in addTargetSectionFlags()
H A DMCELFStreamer.cpp108 const MCSectionELF &Section = in emitLabel()
109 static_cast<const MCSectionELF &>(*getCurrentSectionOnly()); in emitLabel()
119 const MCSectionELF &Section = in emitLabelAtPos()
120 static_cast<const MCSectionELF &>(*getCurrentSectionOnly()); in emitLabelAtPos()
159 auto *SectionELF = static_cast<const MCSectionELF *>(Section); in changeSection()
H A DCMakeLists.txt44 MCSectionELF.cpp
/openbsd-src/gnu/llvm/llvm/include/llvm/MC/
H A DMCContext.h53 class MCSectionELF; variable
134 SpecificBumpPtrAllocator<MCSectionELF> ELFAllocator;
346 std::map<ELFSectionKey, MCSectionELF *> ELFUniquingMap;
374 MCSectionELF *createELFSectionImpl(StringRef Section, unsigned Type,
563 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection()
568 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection()
574 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection()
581 MCSectionELF *getELFSection(const Twine &Section, unsigned Type,
587 MCSectionELF *getELFSection(const Twine &Section, unsigned Type,
597 MCSectionELF *getELFNamedSection(const Twine &Prefix, const Twine &Suffix,
[all …]
H A DMCSectionELF.h26 class MCSectionELF final : public MCSection {
52 MCSectionELF(StringRef Name, unsigned type, unsigned flags, SectionKind K, in MCSectionELF() function
H A DMCELFObjectWriter.h97 virtual void addTargetSectionFlags(MCContext &Ctx, MCSectionELF &Sec);
147 virtual MCSectionELF *getMemtagRelocsSection(MCContext &Ctx) const { in getMemtagRelocsSection()
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonTargetObjectFile.h42 MCSectionELF *SmallDataSection;
43 MCSectionELF *SmallBSSSection;
H A DHexagonAsmPrinter.cpp203 MCSectionELF *Section = OutStreamer.getContext().getELFSection( in smallData()
231 MCSectionELF *Section = OutStreamer.getContext().getELFSection( in smallData()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMELFObjectWriter.cpp44 void addTargetSectionFlags(MCContext &Ctx, MCSectionELF &Sec) override;
272 MCSectionELF &Sec) { in addTargetSectionFlags()
278 MCSectionELF *TextSection = in addTargetSectionFlags()
279 static_cast<MCSectionELF *>(Ctx.getObjectFileInfo()->getTextSection()); in addTargetSectionFlags()
H A DARMELFStreamer.cpp1149 const MCSectionELF &FnSection = in SwitchToEHSection()
1150 static_cast<const MCSectionELF &>(Fn.getSection()); in SwitchToEHSection()
1163 MCSectionELF *EHSection = getContext().getELFSection( in SwitchToEHSection()
/openbsd-src/gnu/llvm/llvm/lib/Target/BPF/MCTargetDesc/
H A DBPFELFObjectWriter.cpp59 const MCSectionELF *SectionELF = dyn_cast<MCSectionELF>(&Section); in getRelocType()
/openbsd-src/gnu/llvm/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsOptionRecord.cpp36 MCSectionELF *Sec = in EmitMipsOptionRecord()
55 MCSectionELF *Sec = Context.getELFSection(".reginfo", ELF::SHT_MIPS_REGINFO, in EmitMipsOptionRecord()
H A DMipsTargetStreamer.cpp913 MCSectionELF &Section = static_cast<MCSectionELF &>(S); in finish()
1018 MCSectionELF *Sec = Context.getELFSection(".pdr", ELF::SHT_PROGBITS, 0); in emitDirectiveEnd()
1323 MCSectionELF *Sec = Context.getELFSection( in emitMipsAbiFlags()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DR600AsmPrinter.cpp112 MCSectionELF *ConfigSection = in runOnMachineFunction()
121 MCSectionELF *CommentSection = in runOnMachineFunction()
/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()
H A DAArch64ELFObjectWriter.cpp37 MCSectionELF *getMemtagRelocsSection(MCContext &Ctx) const override;
458 MCSectionELF *
/openbsd-src/gnu/usr.bin/clang/libLLVMMC/
H A DMakefile50 MCSectionELF.cpp \
/openbsd-src/gnu/llvm/llvm/utils/gn/secondary/llvm/lib/MC/
H A DBUILD.gn58 "MCSectionELF.cpp",
/openbsd-src/gnu/llvm/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp670 if (const MCSectionELF *Section = in ParseSectionArguments()
671 cast_or_null<MCSectionELF>(CurrentSection.first)) in ParseSectionArguments()
679 MCSectionELF *Section = in ParseSectionArguments()
/openbsd-src/gnu/llvm/llvm/lib/Target/AVR/
H A DAVRAsmPrinter.cpp259 auto *Section = cast<MCSectionELF>(TLOF.SectionForGlobal(&GO, TM)); in doFinalization()
/openbsd-src/gnu/llvm/llvm/lib/Target/BPF/
H A DBTFDebug.cpp1037 MCSectionELF *Sec = Ctx.getELFSection(".BTF", ELF::SHT_PROGBITS, 0); in emitBTFSection()
1077 MCSectionELF *Sec = Ctx.getELFSection(".BTF.ext", ELF::SHT_PROGBITS, 0); in emitBTFExtSection()
1230 const MCSectionELF *SectionELF = dyn_cast<MCSectionELF>(&Section); in beginFunctionImpl()

12