Home
last modified time | relevance | path

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

12345

/freebsd-src/contrib/llvm-project/llvm/include/llvm/Object/
H A DGOFFObjectFile.h94 uint64_t getSectionAddress(DataRefImpl Sec) const override; in getSectionIndex() argument
95 uint64_t getSectionSize(DataRefImpl Sec) const override; in getSectionAlignment() argument
97 getSectionContents(DataRefImpl Sec) const override; in isSectionText() argument
98 uint64_t getSectionIndex(DataRefImpl Sec) const override { return Sec in isSectionText() argument
84 moveSectionNext(DataRefImpl & Sec) moveSectionNext() argument
85 getSectionName(DataRefImpl Sec) getSectionName() argument
88 getSectionAddress(DataRefImpl Sec) getSectionAddress() argument
89 getSectionSize(DataRefImpl Sec) getSectionSize() argument
91 getSectionContents(DataRefImpl Sec) getSectionContents() argument
96 isSectionCompressed(DataRefImpl Sec) isSectionCompressed() argument
99 isSectionBSS(DataRefImpl Sec) isSectionBSS() argument
100 isSectionVirtual(DataRefImpl Sec) isSectionVirtual() argument
101 section_rel_begin(DataRefImpl Sec) section_rel_begin() argument
104 section_rel_end(DataRefImpl Sec) section_rel_end() argument
[all...]
H A DELFObjectFile.h359 toELFShdrIter(DataRefImpl Sec) toELFShdrIter() argument
363 toDRI(const Elf_Shdr * Sec) toDRI() argument
438 getSection(DataRefImpl Sec) getSection() argument
549 getSectionFlags(DataRefImpl Sec) getSectionFlags() argument
554 getSectionType(DataRefImpl Sec) getSectionType() argument
559 getSectionOffset(DataRefImpl Sec) getSectionOffset() argument
833 DataRefImpl Sec; getSymbolSection() local
852 moveSectionNext(DataRefImpl & Sec) moveSectionNext() argument
858 getSectionName(DataRefImpl Sec) getSectionName() argument
863 getSectionAddress(DataRefImpl Sec) getSectionAddress() argument
868 getSectionIndex(DataRefImpl Sec) getSectionIndex() argument
879 getSectionSize(DataRefImpl Sec) getSectionSize() argument
885 getSectionContents(DataRefImpl Sec) getSectionContents() argument
897 getSectionAlignment(DataRefImpl Sec) getSectionAlignment() argument
902 isSectionCompressed(DataRefImpl Sec) isSectionCompressed() argument
907 isSectionText(DataRefImpl Sec) isSectionText() argument
912 isSectionData(DataRefImpl Sec) isSectionData() argument
920 isSectionBSS(DataRefImpl Sec) isSectionBSS() argument
956 isSectionVirtual(DataRefImpl Sec) isSectionVirtual() argument
961 isBerkeleyText(DataRefImpl Sec) isBerkeleyText() argument
968 isBerkeleyData(DataRefImpl Sec) isBerkeleyData() argument
975 isDebugSection(DataRefImpl Sec) isDebugSection() argument
989 section_rel_begin(DataRefImpl Sec) section_rel_begin() argument
1002 section_rel_end(DataRefImpl Sec) section_rel_end() argument
1022 getRelocatedSection(DataRefImpl Sec) getRelocatedSection() argument
[all...]
H A DELF.h129 getSecIndexForError(const ELFFile<ELFT> & Obj,const typename ELFT::Shdr & Sec) getSecIndexForError() argument
143 describe(const ELFFile<ELFT> & Obj,const typename ELFT::Shdr & Sec) describe() argument
168 checkSectionOffsets(const typename ELFT::Phdr & Phdr,const typename ELFT::Shdr & Sec) checkSectionOffsets() argument
186 checkSectionVMA(const typename ELFT::Phdr & Phdr,const typename ELFT::Shdr & Sec) checkSectionVMA() argument
205 isSectionInSegment(const typename ELFT::Phdr & Phdr,const typename ELFT::Shdr & Sec) isSectionInSegment() argument
304 symbols(const Elf_Shdr * Sec) symbols() argument
310 relas(const Elf_Shdr & Sec) relas() argument
314 rels(const Elf_Shdr & Sec) rels() argument
318 relrs(const Elf_Shdr & Sec) relrs() argument
551 getSymbol(const Elf_Shdr * Sec,uint32_t Index) getSymbol() argument
567 getSectionContentsAsArray(const Elf_Shdr & Sec) getSectionContentsAsArray() argument
623 getSectionContents(const Elf_Shdr & Sec) getSectionContents() argument
985 getVersionDefinitions(const Elf_Shdr & Sec) getVersionDefinitions() argument
1072 getVersionDependencies(const Elf_Shdr & Sec,WarningHandler WarnHandler) getVersionDependencies() argument
1233 getStringTableForSymtab(const Elf_Shdr & Sec) getStringTableForSymtab() argument
1242 getStringTableForSymtab(const Elf_Shdr & Sec,Elf_Shdr_Range Sections) getStringTableForSymtab() argument
1257 getLinkAsStrtab(const typename ELFT::Shdr & Sec) getLinkAsStrtab() argument
[all...]
/freebsd-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 …]
/freebsd-src/contrib/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObjcopy.cpp54 static bool isDebugSection(const SectionBase &Sec) { in isDebugSection() argument
58 static bool isDWOSection(const SectionBase &Sec) { in isDWOSection() argument
62 static bool onlyKeepDWOPred(const Object &Obj, const SectionBase &Sec) { in onlyKeepDWOPred() argument
110 static void setSectionType(SectionBase &Sec, uint64_ argument
118 setSectionFlagsAndType(SectionBase & Sec,SectionFlag Flags,uint16_t EMachine) setSectionFlagsAndType() argument
193 for (auto &Sec : Obj.sections()) { dumpSectionToFile() local
215 isCompressable(const SectionBase & Sec) isCompressable() argument
227 for (auto &Sec : Obj.sections()) replaceDebugSections() local
391 __anon7bd64c5a0402(const SectionBase &Sec) replaceAndRemoveSections() argument
397 __anon7bd64c5a0502(const SectionBase &Sec) replaceAndRemoveSections() argument
402 __anon7bd64c5a0602(const SectionBase &Sec) replaceAndRemoveSections() argument
407 __anon7bd64c5a0702(const SectionBase &Sec) replaceAndRemoveSections() argument
425 __anon7bd64c5a0802(const SectionBase &Sec) replaceAndRemoveSections() argument
431 __anon7bd64c5a0902(const SectionBase &Sec) replaceAndRemoveSections() argument
437 __anon7bd64c5a0a02(const SectionBase &Sec) replaceAndRemoveSections() argument
446 __anon7bd64c5a0b02(const SectionBase &Sec) replaceAndRemoveSections() argument
465 __anon7bd64c5a0c02(const SectionBase &Sec) replaceAndRemoveSections() argument
476 __anon7bd64c5a0d02(const SectionBase &Sec) replaceAndRemoveSections() argument
498 __anon7bd64c5a0e02(const SectionBase &Sec) replaceAndRemoveSections() argument
514 __anon7bd64c5a0f02(const SectionBase &Sec) replaceAndRemoveSections() argument
549 SectionBase *Sec = Obj.findSection(SymInfo.SectionName); addSymbol() local
626 __anon7bd64c5a1302(const SectionBase &Sec) handleArgs() argument
657 for (auto &Sec : Obj.sections()) handleArgs() local
696 for (auto &Sec : Obj.sections()) { handleArgs() local
[all...]
H A DELFObject.cpp67 writeShdr(const SectionBase & Sec) writeShdr() argument
101 visit(SymbolTableSection & Sec) visit() argument
110 visit(RelocationSection & Sec) visit() argument
123 visit(GroupSection & Sec) visit() argument
142 visit(const SectionIndexSection & Sec) visit() argument
148 visit(const SymbolTableSection & Sec) visit() argument
154 visit(const RelocationSection & Sec) visit() argument
160 visit(const GnuDebugLinkSection & Sec) visit() argument
165 visit(const GroupSection & Sec) visit() argument
170 visit(const Section & Sec) visit() argument
327 sectionPhysicalAddr(const SectionBase * Sec) sectionPhysicalAddr() argument
335 writeSection(const SectionBase * Sec,ArrayRef<uint8_t> Data) writeSection() argument
384 visit(const Section & Sec) visit() argument
389 visit(const OwnedDataSection & Sec) visit() argument
394 visit(const StringTableSection & Sec) visit() argument
404 visit(const DynamicRelocationSection & Sec) visit() argument
416 visit(const StringTableSection & Sec) visit() argument
439 visit(const OwnedDataSection & Sec) visit() argument
445 visit(const DecompressedSection & Sec) visit() argument
480 visit(const DecompressedSection & Sec) visit() argument
511 visit(const CompressedSection & Sec) visit() argument
518 visit(const CompressedSection & Sec) visit() argument
541 CompressedSection(const SectionBase & Sec,DebugCompressionType CompressionType,bool Is64Bits) CompressedSection() argument
583 visit(const StringTableSection & Sec) visit() argument
598 visit(const SectionIndexSection & Sec) visit() argument
606 Expected<SymbolTableSection *> Sec = initialize() local
771 Expected<StringTableSection *> Sec = initialize() local
845 visit(const SymbolTableSection & Sec) visit() argument
911 Expected<SymTabType *> Sec = SecTable.getSectionOfType<SymTabType>( initialize() local
924 Expected<SectionBase *> Sec = initialize() local
965 visit(const RelocationSection & Sec) visit() argument
1008 visit(const DynamicRelocationSection & Sec) visit() argument
1114 Expected<SectionBase *> Sec = initialize() local
1156 visit(const GnuDebugLinkSection & Sec) visit() argument
1175 visit(const GroupSection & Sec) visit() argument
1193 sectionWithinSegment(const SectionBase & Sec,const Segment & Seg) sectionWithinSegment() argument
1406 for (const SectionBase &Sec : Obj.sections()) { findEhdrOffset() local
1523 Expected<SectionBase *> Sec = SecTable.getSection( initGroupSection() local
1584 Expected<SectionBase *> Sec = Obj.sections().getSection( initSymbolTable() local
1601 Expected<SectionBase *> Sec = Obj.sections().getSection( initSymbolTable() local
1669 if (T *Sec = dyn_cast<T>(*BaseSec)) getSectionOfType() local
1767 Expected<SectionBase &> Sec = makeSection(Shdr); readSectionHeaders() local
1798 Expected<const Elf_Shdr *> Sec = ElfFile.getSection(0); readSections() local
1808 Expected<StringTableSection *> Sec = readSections() local
2094 SectionBase *Sec = it.first; writeSegmentData() local
2105 for (auto &Sec : Obj.removedSections()) { writeSegmentData() local
2123 __anon1cfe2d5b0502(const SecPtr &Sec) updateSection() argument
2156 __anon1cfe2d5b0602(const SecPtr &Sec) removeSections() argument
2190 __anon1cfe2d5b0702(const SectionBase *Sec) removeSections() argument
2217 for (auto &Sec : Sections) replaceSections() local
2222 __anon1cfe2d5b0902(const SectionBase &Sec) replaceSections() argument
2230 for (const SecPtr &Sec : Sections) removeSymbols() local
2318 for (auto &Sec : Sections) { layoutSections() local
2332 for (auto *Sec : OutOfSegmentSections) { layoutSections() local
2349 for (auto &Sec : Obj.sections()) { layoutSectionsForOnlyKeepDebug() local
2358 for (auto *Sec : Sections) { layoutSectionsForOnlyKeepDebug() local
2411 for (const SectionBase *Sec : Seg->Sections) { layoutSegmentsForOnlyKeepDebug() local
2517 __anon1cfe2d5b0c02(const SectionBase &Sec) removeUnneededSections() argument
2550 __anon1cfe2d5b0d02(const SectionBase &Sec) finalize() argument
2571 __anon1cfe2d5b0e02(const SectionBase &Sec) finalize() argument
2581 for (const SectionBase &Sec : Obj.sections()) finalize() local
2640 for (const SectionBase &Sec : Obj.allocSections()) { write() local
2656 const SectionBase &Sec = *SectionsToWrite[i]; write() local
2746 for (const SectionBase *Sec : Sections) write() local
2765 checkSection(const SectionBase & Sec) checkSection() argument
2782 for (const SectionBase &Sec : Obj.sections()) finalize() local
2797 for (const SectionBase *Sec : Sections) finalize() local
[all...]
/freebsd-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
/freebsd-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
/freebsd-src/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsOptionRecord.cpp55 Sec->setAlignment(MTS->getABI().IsN32() ? Align(8) : Align(4)); in EmitMipsOptionRecord() local
36 MCSectionELF *Sec = EmitMipsOptionRecord() local
/freebsd-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()
/freebsd-src/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCFragment.h117 MCDummyFragment(MCSection * Sec) MCDummyFragment() argument
133 MCEncodedFragment(MCFragment::FragmentType FType,bool HasInstructions,MCSection * Sec) MCEncodedFragment() argument
193 MCEncodedFragmentWithContents(MCFragment::FragmentType FType,bool HasInstructions,MCSection * Sec) MCEncodedFragmentWithContents() argument
214 MCEncodedFragmentWithFixups(MCFragment::FragmentType FType,bool HasInstructions,MCSection * Sec) MCEncodedFragmentWithFixups() argument
263 MCEncodedFragmentWithContents(FT_CompactEncodedInst,true,Sec) MCEncodedFragmentWithContents() argument
284 MCEncodedFragmentWithFixups(FT_Relaxable,true,Sec) MCEncodedFragmentWithFixups() argument
323 MCFragment(FT_Align,false,Sec) MCFragment() argument
360 MCFragment(FT_Fill,false,Sec) MCFragment() argument
389 MCFragment(FT_Nops,false,Sec) MCFragment() argument
417 MCFragment(FT_Org,false,Sec) MCFragment() argument
505 MCFragment(FT_SymbolId,false,Sec) MCFragment() argument
534 MCFragment(FT_CVInlineLines,false,Sec) MCFragment() argument
595 MCFragment(FT_BoundaryAlign,false,Sec) MCFragment() argument
/freebsd-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
/freebsd-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() argument
241 for (const std::unique_ptr<Section> &Sec : LC.Sections) { writeSections() local
[all...]
/freebsd-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()
/freebsd-src/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DDefineExternalSectionStartAndEndSymbols.h30 Section *Sec = nullptr; member
73 SectionRange &getSectionRange(Section &Sec) { in getSectionRange() argument
[all...]
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
/freebsd-src/contrib/llvm-project/llvm/lib/Object/
H A DSymbolSize.cpp29 static unsigned getSectionID(const ObjectFile &O, SectionRef Sec) { in getSectionID() argument
81 for (SectionRef Sec : O.sections()) { computeSymbolSizes() local
H A DGOFFObjectFile.cpp383 SectionEntryImpl EsdIds = SectionList[Sec.d.a]; in getSectionEdEsdRecord() local
336 DataRefImpl Sec; getSymbolSection() local
391 DataRefImpl Sec; getSectionPrEsdRecord() local
398 DataRefImpl Sec; section_begin() local
404 DataRefImpl Sec; section_end() local
[all...]
H A DCOFFObjectFile.cpp251 if (!Sec) in getSymbolSection() local
265 Sec += 1; in moveSectionNext() local
271 return getSectionName(Sec); in getSectionName() local
276 const coff_section *Sec = toSec(Ref); getSectionAddress() local
295 const coff_section *Sec = toSec(Ref); getSectionContents() local
303 const coff_section *Sec = toSec(Ref); getSectionAlignment() local
312 const coff_section *Sec = toSec(Ref); isSectionText() local
317 const coff_section *Sec = toSec(Ref); isSectionData() local
322 const coff_section *Sec = toSec(Ref); isSectionBSS() local
350 const coff_section *Sec = toSec(Ref); isSectionVirtual() local
356 getNumberOfRelocations(const coff_section * Sec,MemoryBufferRef M,const uint8_t * base) getNumberOfRelocations() argument
377 getFirstReloc(const coff_section * Sec,MemoryBufferRef M,const uint8_t * Base) getFirstReloc() argument
397 const coff_section *Sec = toSec(Ref); section_rel_begin() local
407 const coff_section *Sec = toSec(Ref); section_rel_end() local
1239 getSectionContents(const coff_section * Sec,ArrayRef<uint8_t> & Res) const getSectionContents() argument
[all...]
/freebsd-src/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DELFDump.cpp176 getSectionLMA(const ELFFile<ELFT> & Obj,const object::ELFSectionRef & Sec) getSectionLMA() argument
194 getELFSectionLMA(const object::ELFSectionRef & Sec) getELFSectionLMA() argument
325 __anone598b7310202(const ELFSectionRef Sec) printDynamicRelocations() argument
359 printSymbolVersionDependency(const typename ELFT::Shdr & Sec) printSymbolVersionDependency() argument
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/MC/
H A DMCDXContainerWriter.cpp56 for (const MCSection &Sec : Asm) { writeObject() local
97 for (const MCSection &Sec : Asm) { writeObject() local

12345