Home
last modified time | relevance | path

Searched defs:Sec (Results 1 – 25 of 121) sorted by relevance

12345

/src/contrib/llvm-project/llvm/lib/ObjCopy/wasm/
H A DWasmObjcopy.cpp24 static bool isDebugSection(const Section &Sec) { in isDebugSection()
28 static bool isLinkerSection(const Section &Sec) { in isLinkerSection()
32 static bool isNameSection(const Section &Sec) { return Sec.Name == "name"; } in isNameSection()
36 static bool isCommentSection(const Section &Sec) { in isCommentSection()
42 for (const Section &Sec : Obj.Sections) { in dumpSectionToFile() local
65 RemovePred = [&Config](const Section &Sec) { in removeSections()
71 RemovePred = [RemovePred](const Section &Sec) { in removeSections()
77 RemovePred = [RemovePred](const Section &Sec) { in removeSections()
84 RemovePred = [&Config](const Section &Sec) { in removeSections()
92 RemovePred = [&Config](const Section &Sec) { in removeSections()
[all …]
/src/contrib/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObject.cpp69 template <class ELFT> void ELFWriter<ELFT>::writeShdr(const SectionBase &Sec) { in writeShdr()
103 Error ELFSectionSizer<ELFT>::visit(SymbolTableSection &Sec) { in visit()
125 Error ELFSectionSizer<ELFT>::visit(RelocationSection &Sec) { in visit()
142 template <class ELFT> Error ELFSectionSizer<ELFT>::visit(GroupSection &Sec) { in visit()
161 Error BinarySectionWriter::visit(const SectionIndexSection &Sec) { in visit()
167 Error BinarySectionWriter::visit(const SymbolTableSection &Sec) { in visit()
173 Error BinarySectionWriter::visit(const RelocationSection &Sec) { in visit()
179 Error BinarySectionWriter::visit(const GnuDebugLinkSection &Sec) { in visit()
184 Error BinarySectionWriter::visit(const GroupSection &Sec) { in visit()
189 Error SectionWriter::visit(const Section &Sec) { in visit()
[all …]
H A DELFObjcopy.cpp54 static bool isDebugSection(const SectionBase &Sec) { in isDebugSection()
58 static bool isDWOSection(const SectionBase &Sec) { in isDWOSection()
62 static bool onlyKeepDWOPred(const Object &Obj, const SectionBase &Sec) { in onlyKeepDWOPred()
110 static void setSectionType(SectionBase &Sec, uint64_t Type) { in setSectionType()
118 static Error setSectionFlagsAndType(SectionBase &Sec, SectionFlag Flags, in setSectionFlagsAndType()
195 for (auto &Sec : Obj.sections()) { in dumpSectionToFile() local
423 RemovePred = [&Config](const SectionBase &Sec) { in replaceAndRemoveSections()
429 RemovePred = [RemovePred](const SectionBase &Sec) { in replaceAndRemoveSections()
434 RemovePred = [RemovePred, &Obj](const SectionBase &Sec) { in replaceAndRemoveSections()
439 RemovePred = [RemovePred, &Obj](const SectionBase &Sec) { in replaceAndRemoveSections()
[all …]
/src/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DDefineExternalSectionStartAndEndSymbols.h30 Section *Sec = nullptr; member
73 SectionRange &getSectionRange(Section &Sec) { in getSectionRange()
119 if (auto *Sec = in identifyELFSectionStartAndEndSymbols() local
123 if (auto *Sec = in identifyELFSectionStartAndEndSymbols() local
141 if (auto *Sec = G.findSectionByName(SectionName)) in identifyMachOSectionStartAndEndSymbols() local
147 if (auto *Sec = G.findSectionByName(SectionName)) in identifyMachOSectionStartAndEndSymbols() local
H A DCOFFLinkGraphBuilder.cpp53 const object::coff_section *Sec) { in getSectionSize()
97 const object::coff_section *Sec, in getCOFFSectionName()
129 Expected<const object::coff_section *> Sec = Obj.getSection(SecIndex); in graphifySections() local
219 const object::coff_section *Sec = nullptr; in graphifySymbols() local
/src/contrib/llvm-project/llvm/include/llvm/Object/
H A DGOFFObjectFile.h98 uint64_t getSectionIndex(DataRefImpl Sec) const override { return Sec.d.a; } in getSectionIndex()
100 bool isSectionCompressed(DataRefImpl Sec) const override { return false; } in isSectionCompressed()
103 bool isSectionBSS(DataRefImpl Sec) const override { return false; } in isSectionBSS()
104 bool isSectionVirtual(DataRefImpl Sec) const override { return false; } in isSectionVirtual()
105 relocation_iterator section_rel_begin(DataRefImpl Sec) const override { in section_rel_begin()
108 relocation_iterator section_rel_end(DataRefImpl Sec) const override { in section_rel_end()
H A DELFObjectFile.h378 const Elf_Shdr *toELFShdrIter(DataRefImpl Sec) const { in toELFShdrIter()
382 DataRefImpl toDRI(const Elf_Shdr *Sec) const { in toDRI()
471 const Elf_Shdr *getSection(DataRefImpl Sec) const { in getSection()
584 uint64_t ELFObjectFile<ELFT>::getSectionFlags(DataRefImpl Sec) const { in getSectionFlags()
589 uint32_t ELFObjectFile<ELFT>::getSectionType(DataRefImpl Sec) const { in getSectionType()
594 uint64_t ELFObjectFile<ELFT>::getSectionOffset(DataRefImpl Sec) const { in getSectionOffset()
871 DataRefImpl Sec; in getSymbolSection() local
890 void ELFObjectFile<ELFT>::moveSectionNext(DataRefImpl &Sec) const { in moveSectionNext()
896 Expected<StringRef> ELFObjectFile<ELFT>::getSectionName(DataRefImpl Sec) const { in getSectionName()
901 uint64_t ELFObjectFile<ELFT>::getSectionAddress(DataRefImpl Sec) const { in getSectionAddress()
[all …]
H A DELF.h131 const typename ELFT::Shdr &Sec) { in getSecIndexForError()
145 const typename ELFT::Shdr &Sec) { in describe()
170 const typename ELFT::Shdr &Sec) { in checkSectionOffsets()
188 const typename ELFT::Shdr &Sec) { in checkSectionVMA()
207 const typename ELFT::Shdr &Sec) { in isSectionInSegment()
347 Expected<Elf_Sym_Range> symbols(const Elf_Shdr *Sec) const { in symbols()
353 Expected<Elf_Rela_Range> relas(const Elf_Shdr &Sec) const { in relas()
357 Expected<Elf_Rel_Range> rels(const Elf_Shdr &Sec) const { in rels()
361 Expected<Elf_Relr_Range> relrs(const Elf_Shdr &Sec) const { in relrs()
599 ELFFile<ELFT>::getSymbol(const Elf_Shdr *Sec, uint32_t Index) const { in getSymbol()
[all …]
/src/contrib/llvm-project/llvm/lib/ObjCopy/XCOFF/
H A DXCOFFWriter.cpp28 for (const Section &Sec : Obj.Sections) { in finalizeSections() local
67 for (const Section &Sec : Obj.Sections) { in writeHeaders() local
75 for (const Section &Sec : Obj.Sections) { in writeSections() local
82 for (const Section &Sec : Obj.Sections) { in writeSections() local
/src/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Debugging/
H A DDebugInfoSupport.cpp33 static void preserveDWARFSection(LinkGraph &G, Section &Sec) { in preserveDWARFSection()
50 static SmallVector<char, 0> getSectionData(Section &Sec) { in getSectionData()
84 for (auto &Sec : G.sections()) { in preserveDebugSections() local
103 for (auto &Sec : G.sections()) { in createDWARFContext() local
H A DDebuggerSupportPlugin.cpp36 static bool isDebugSection(Section &Sec) { in isDebugSection()
58 for (auto &Sec : G.sections()) { in preserveDebugSections() local
103 for (auto &Sec : G.sections()) { in startSynthesis() local
394 for (auto &Sec : LG.sections()) in modifyPassConfigForMachO() local
/src/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsOptionRecord.cpp35 MCSectionELF *Sec = in EmitMipsOptionRecord() local
53 MCSectionELF *Sec = Context.getELFSection(".reginfo", ELF::SHT_MIPS_REGINFO, in EmitMipsOptionRecord() local
/src/contrib/llvm-project/llvm/lib/ObjCopy/COFF/
H A DCOFFObjcopy.cpp31 static bool isDebugSection(const Section &Sec) { in isDebugSection()
66 Section Sec; in addSection() local
166 Obj.removeSections([&Config](const Section &Sec) { in handleArgs()
188 Obj.truncateSections([](const Section &Sec) { in handleArgs()
279 auto It = llvm::find_if(Obj.getMutableSections(), [&](auto &Sec) { in handleArgs()
H A DCOFFObject.cpp56 for (const Section &Sec : Sections) { in markSymbols() local
91 auto RemoveAssociated = [&AssociatedSections](const Section &Sec) { in removeSections()
96 llvm::erase_if(Sections, [ToRemove, &RemovedSections](const Section &Sec) { in removeSections()
/src/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DObjectFileInterface.cpp81 for (auto &Sec : Obj.sections()) { in getMachOObjectFileSymbolInfo() local
140 for (auto &Sec : Obj.sections()) { in getELFObjectFileSymbolInfo() local
168 auto Sec = Obj.getSection(COFFSym.getSectionNumber()); in getCOFFObjectFileSymbolInfo() local
221 for (auto &Sec : Obj.sections()) { in getCOFFObjectFileSymbolInfo() local
/src/contrib/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOObjcopy.cpp61 RemovePred = [&Config, RemovePred](const std::unique_ptr<Section> &Sec) { in removeSections()
68 RemovePred = [RemovePred](const std::unique_ptr<Section> &Sec) { in removeSections()
78 RemovePred = [&Config](const std::unique_ptr<Section> &Sec) { in removeSections()
292 for (const std::unique_ptr<Section> &Sec : LC.Sections) { in dumpSectionToFile() local
314 Section Sec(TargetSegName, Pair.second); in addSection() local
353 [SecName](const std::unique_ptr<Section> &Sec) { in findSection()
370 Section &Sec = *SecToUpdateOrErr; in updateSection() local
H A DMachOReader.cpp32 static Section constructSectionCommon(const SectionType &Sec, uint32_t Index) { in constructSectionCommon()
50 Section constructSection(const MachO::section &Sec, uint32_t Index) { in constructSection()
54 Section constructSection(const MachO::section_64 &Sec, uint32_t Index) { in constructSection()
70 SectionType Sec; in extractSections() local
352 for (const std::unique_ptr<Section> &Sec : LC.Sections) in readSwiftVersion() local
H A DMachOWriter.cpp168 for (const std::unique_ptr<Section> &Sec : LC.Sections) in writeLoadCommands() local
178 for (const std::unique_ptr<Section> &Sec : LC.Sections) in writeLoadCommands() local
215 void MachOWriter::writeSectionInLoadCommand(const Section &Sec, uint8_t *&Out) { in writeSectionInLoadCommand()
241 for (const std::unique_ptr<Section> &Sec : LC.Sections) { in writeSections() local
/src/contrib/llvm-project/llvm/include/llvm/DWP/
H A DDWPStringPool.h34 MCSection *Sec; variable
39 DWPStringPool(MCStreamer &Out, MCSection *Sec) : Out(Out), Sec(Sec) {} in DWPStringPool()
/src/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DELFDump.cpp180 const object::ELFSectionRef &Sec) { in getSectionLMA()
198 uint64_t objdump::getELFSectionLMA(const object::ELFSectionRef &Sec) { in getELFSectionLMA()
330 if (!any_of(Obj.sections(), [](const ELFSectionRef Sec) { in printDynamicRelocations()
364 const typename ELFT::Shdr &Sec) { in printSymbolVersionDependency()
/src/contrib/llvm-project/llvm/lib/MC/
H A DMCDXContainerWriter.cpp51 for (const MCSection &Sec : Asm) { in writeObject() local
92 for (const MCSection &Sec : Asm) { in writeObject() local
H A DWinCOFFObjectWriter.cpp212 static bool isDwoSection(const MCSection &Sec) { in isDwoSection()
258 static uint32_t getAlignment(const MCSectionCOFF &Sec) { in getAlignment()
374 COFFSection *Sec = nullptr; in defineSymbol() local
595 void WinCOFFWriter::writeSection(MCAssembler &Asm, const COFFSection &Sec) { in writeSection()
743 COFFSection *Sec = SectionMap[&Section]; in assignFileOffsets() local
850 COFFSection *Sec = SectionMap[MCSec]; in recordRelocation() local
1066 auto *Sec = Asm.getContext().getCOFFSection( in writeObject() local
1088 auto *Sec = Asm.getContext().getCOFFSection( in writeObject() local
/src/contrib/llvm-project/llvm/lib/Object/
H A DSymbolSize.cpp29 static unsigned getSectionID(const ObjectFile &O, SectionRef Sec) { in getSectionID()
88 for (SectionRef Sec : O.sections()) { in computeSymbolSizes() local
H A DCOFFObjectFile.cpp250 Expected<const coff_section *> Sec = getSection(Symb.getSectionNumber()); in getSymbolSection() local
264 const coff_section *Sec = toSec(Ref); in moveSectionNext() local
270 const coff_section *Sec = toSec(Ref); in getSectionName() local
275 const coff_section *Sec = toSec(Ref); in getSectionAddress() local
294 const coff_section *Sec = toSec(Ref); in getSectionContents() local
302 const coff_section *Sec = toSec(Ref); in getSectionAlignment() local
311 const coff_section *Sec = toSec(Ref); in isSectionText() local
316 const coff_section *Sec = toSec(Ref); in isSectionData() local
321 const coff_section *Sec = toSec(Ref); in isSectionBSS() local
349 const coff_section *Sec = toSec(Ref); in isSectionVirtual() local
[all …]
/src/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MachObjectWriter.cpp315 const MCSection &Sec = Symbol->getSection(); in recordRelocation() local
354 const MCSection &Sec = Symbol->getSection(); in recordRelocation() local

12345