Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DELFObjectWriter.cpp72 bool isDwoSection(const MCSectionELF &Sec) { in isDwoSection()
137 std::vector<MCSectionELF *> SectionTable;
138 unsigned addToSectionTable(MCSectionELF *Sec);
183 MCSectionELF *createRelocationSection(MCContext &Ctx,
184 const MCSectionELF &Sec);
195 void writeRelocations(const MCAssembler &Asm, const MCSectionELF &Sec);
199 const MCSectionELF &Section);
210 unsigned ELFWriter::addToSectionTable(MCSectionELF *Sec) { in addToSectionTable()
498 MCSectionELF *SymtabSection = in computeSymbolTable()
557 const MCSectionELF &Section = in computeSymbolTable()
[all …]
H A DMCSectionELF.cpp22 bool MCSectionELF::shouldOmitSectionDirective(StringRef Name, in shouldOmitSectionDirective()
53 void MCSectionELF::printSwitchToSection(const MCAsmInfo &MAI, const Triple &T, in printSwitchToSection()
209 bool MCSectionELF::useCodeAlign() const { in useCodeAlign()
213 StringRef MCSectionELF::getVirtualSectionKind() const { return "SHT_NOBITS"; } in getVirtualSectionKind()
H A DMCContext.cpp521 MCSectionELF *MCContext::createELFSectionImpl(StringRef Section, unsigned Type, in createELFSectionImpl()
531 auto *Ret = new (ELFAllocator.Allocate()) MCSectionELF( in createELFSectionImpl()
539 MCSectionELF *
542 const MCSectionELF *RelInfoSection) { in createELFRelSection()
552 MCSectionELF *MCContext::getELFNamedSection(const Twine &Prefix, in getELFNamedSection()
560 MCSectionELF *MCContext::getELFSection(const Twine &Section, unsigned Type, in getELFSection()
573 MCSectionELF *MCContext::getELFSection(const Twine &Section, unsigned Type, in getELFSection()
587 std::pair<StringMap<MCSectionELF *>::iterator, bool> EntryNewPair; in getELFSection()
619 MCSectionELF *Result = in getELFSection()
630 MCSectionELF *MCContext::createELFGroupSection(const MCSymbolELF *Group, in createELFGroupSection()
H A DMCObjectFileInfo.cpp1085 const MCSectionELF &ElfSec = static_cast<const MCSectionELF &>(TextSec); in getStackSizesSection()
1103 const MCSectionELF &ElfSec = static_cast<const MCSectionELF &>(TextSec); in getBBAddrMapSection()
1123 const MCSectionELF &ElfSec = static_cast<const MCSectionELF &>(TextSec); in getKCFITrapSection()
1142 const auto &ElfSec = static_cast<const MCSectionELF &>(TextSec); in getPseudoProbeSection()
1168 auto *S = static_cast<MCSectionELF *>(PseudoProbeDescSection); in getPseudoProbeDescSection()
1195 const auto &ElfSec = static_cast<const MCSectionELF &>(*TextSec); in getPCSection()
H A DMCELFObjectTargetWriter.cpp32 MCSectionELF &Sec) {}
H A DMCELFStreamer.cpp71 const MCSectionELF &Section = in emitLabel()
72 static_cast<const MCSectionELF &>(*getCurrentSectionOnly()); in emitLabel()
82 const MCSectionELF &Section = in emitLabelAtPos()
83 static_cast<const MCSectionELF &>(*getCurrentSectionOnly()); in emitLabelAtPos()
110 auto *SectionELF = static_cast<const MCSectionELF *>(Section); in changeSection()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCELFObjectWriter.h102 virtual void addTargetSectionFlags(MCContext &Ctx, MCSectionELF &Sec);
152 virtual MCSectionELF *getMemtagRelocsSection(MCContext &Ctx) const { in getMemtagRelocsSection()
165 DenseMap<const MCSectionELF *, std::vector<ELFRelocationEntry>> Relocations;
198 bool usesRela(const MCTargetOptions *TO, const MCSectionELF &Sec) const;
204 bool checkRelocation(MCContext &Ctx, SMLoc Loc, const MCSectionELF *From,
205 const MCSectionELF *To);
H A DMCContext.h56 class MCSectionELF; variable
144 SpecificBumpPtrAllocator<MCSectionELF> ELFAllocator;
324 StringMap<MCSectionELF *> ELFUniquingMap;
357 MCSectionELF *createELFSectionImpl(StringRef Section, unsigned Type,
551 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection()
556 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection()
562 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection()
569 MCSectionELF *getELFSection(const Twine &Section, unsigned Type,
575 MCSectionELF *getELFSection(const Twine &Section, unsigned Type,
585 MCSectionELF *getELFNamedSection(const Twine &Prefix, const Twine &Suffix,
[all …]
H A DMCSectionELF.h27 class MCSectionELF final : public MCSection {
57 MCSectionELF(StringRef Name, unsigned type, unsigned flags, in MCSectionELF() function
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetObjectFile.h42 MCSectionELF *SmallDataSection;
43 MCSectionELF *SmallBSSSection;
H A DHexagonAsmPrinter.cpp204 MCSectionELF *Section = OutStreamer.getContext().getELFSection( in smallData()
232 MCSectionELF *Section = OutStreamer.getContext().getELFSection( in smallData()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/MCTargetDesc/
H A DBPFELFObjectWriter.cpp59 const MCSectionELF *SectionELF = dyn_cast<MCSectionELF>(&Section); in getRelocType()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMELFObjectWriter.cpp45 void addTargetSectionFlags(MCContext &Ctx, MCSectionELF &Sec) override;
323 MCSectionELF &Sec) { in addTargetSectionFlags()
329 MCSectionELF *TextSection = in addTargetSectionFlags()
330 static_cast<MCSectionELF *>(Ctx.getObjectFileInfo()->getTextSection()); in addTargetSectionFlags()
H A DARMELFStreamer.cpp1135 const MCSectionELF &FnSection = in SwitchToEHSection()
1136 static_cast<const MCSectionELF &>(Fn.getSection()); in SwitchToEHSection()
1149 MCSectionELF *EHSection = getContext().getELFSection( in SwitchToEHSection()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsOptionRecord.cpp35 MCSectionELF *Sec = in EmitMipsOptionRecord()
53 MCSectionELF *Sec = Context.getELFSection(".reginfo", ELF::SHT_MIPS_REGINFO, in EmitMipsOptionRecord()
H A DMipsTargetStreamer.cpp915 MCSectionELF &Section = static_cast<MCSectionELF &>(Sec); in finish()
1021 MCSectionELF *Sec = Context.getELFSection(".pdr", ELF::SHT_PROGBITS, 0); in emitDirectiveEnd()
1305 MCSectionELF *Sec = Context.getELFSection( in emitMipsAbiFlags()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600AsmPrinter.cpp112 MCSectionELF *ConfigSection = in runOnMachineFunction()
121 MCSectionELF *CommentSection = in runOnMachineFunction()
/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 DAArch64ELFObjectWriter.cpp37 MCSectionELF *getMemtagRelocsSection(MCContext &Ctx) const override;
465 MCSectionELF *
H A DAArch64ELFStreamer.cpp302 MCSectionELF *MemtagSec = nullptr; in finish()
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/MCTargetDesc/
H A DXtensaTargetStreamer.cpp88 auto *CS = static_cast<MCSectionELF *>(OutStreamer.getCurrentSectionOnly()); in emitLiteral()
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp685 if (const MCSectionELF *Section = in ParseSectionArguments()
686 cast_or_null<MCSectionELF>(getStreamer().getCurrentSectionOnly())) in ParseSectionArguments()
694 MCSectionELF *Section = in ParseSectionArguments()
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRAsmPrinter.cpp254 auto *Section = cast<MCSectionELF>(TLOF.SectionForGlobal(&GO, TM)); in doFinalization()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBTFDebug.cpp1038 MCSectionELF *Sec = Ctx.getELFSection(".BTF", ELF::SHT_PROGBITS, 0); in emitBTFSection()
1078 MCSectionELF *Sec = Ctx.getELFSection(".BTF.ext", ELF::SHT_PROGBITS, 0); in emitBTFExtSection()
1231 const MCSectionELF *SectionELF = dyn_cast<MCSectionELF>(&Section); in beginFunctionImpl()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp820 MCSectionELF *Section = Ctx.getELFSection( in selectExplicitSectionGlobal()
855 static MCSectionELF *selectELFSectionForGlobal( in selectELFSectionForGlobal()
907 MCSectionELF *Section = selectELFSectionForGlobal( in selectELFSectionForGlobal()
971 const auto *LSDA = cast<MCSectionELF>(LSDASection); in getSectionForLSDA()
1078 static MCSectionELF *getStaticStructorSection(MCContext &Ctx, bool UseInitArray, in getStaticStructorSection()

12