Home
last modified time | relevance | path

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

123456

/llvm-project/llvm/lib/ObjCopy/wasm/
H A DWasmObjcopy.cpp24 static bool isDebugSection(const Section &Sec) { in isDebugSection() argument
28 static bool isLinkerSection(const Section &Sec) { in isLinkerSection() argument
32 static bool isNameSection(const Section &Sec) { return Sec.Name == "name"; } in isNameSection() argument
36 static bool isCommentSection(const Section &Sec) { in isCommentSection() argument
42 for (const Section &Sec : Obj.Sections) { dumpSectionToFile() local
65 __anon095451fd0202(const Section &Sec) removeSections() argument
71 __anon095451fd0302(const Section &Sec) removeSections() argument
77 __anon095451fd0402(const Section &Sec) removeSections() argument
84 __anon095451fd0502(const Section &Sec) removeSections() argument
92 __anon095451fd0602(const Section &Sec) removeSections() argument
100 __anon095451fd0702(const Section &Sec) removeSections() argument
125 Section Sec; handleArgs() local
[all...]
H A DWasmReader.cpp23 for (const SectionRef &Sec : WasmObj.sections()) { create() local
/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DDefineExternalSectionStartAndEndSymbols.h30 Section *Sec = nullptr; member
73 SectionRange &getSectionRange(Section &Sec) { in getSectionRange() argument
119 if (auto *Sec = identifyELFSectionStartAndEndSymbols() local
123 if (auto *Sec = identifyELFSectionStartAndEndSymbols() local
141 if (auto *Sec = G.findSectionByName(SectionName)) identifyMachOSectionStartAndEndSymbols() local
147 if (auto *Sec = G.findSectionByName(SectionName)) identifyMachOSectionStartAndEndSymbols() local
[all...]
H A DCOFFLinkGraphBuilder.cpp53 getSectionSize(const object::COFFObjectFile & Obj,const object::coff_section * Sec) getSectionSize() argument
97 getCOFFSectionName(COFFSectionIndex SectionIndex,const object::coff_section * Sec,object::COFFSymbolRef Sym) getCOFFSectionName() argument
129 Expected<const object::coff_section *> Sec = Obj.getSection(SecIndex); graphifySections() local
219 const object::coff_section *Sec = nullptr; graphifySymbols() local
[all...]
/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObjcopy.cpp54 return StringRef(Sec.Name).ends_with(".dwo"); in isDebugSection() argument
58 isDWOSection(const SectionBase & Sec) isDWOSection() argument
62 onlyKeepDWOPred(const Object & Obj,const SectionBase & Sec) onlyKeepDWOPred() argument
110 setSectionType(SectionBase & Sec,uint64_t Type) setSectionType() argument
118 setSectionFlagsAndType(SectionBase & Sec,SectionFlag Flags,uint16_t EMachine) setSectionFlagsAndType() argument
195 for (auto &Sec : Obj.sections()) { dumpSectionToFile() local
422 __anonadd7cd7b0602(const SectionBase &Sec) replaceAndRemoveSections() argument
428 __anonadd7cd7b0702(const SectionBase &Sec) replaceAndRemoveSections() argument
433 __anonadd7cd7b0802(const SectionBase &Sec) replaceAndRemoveSections() argument
438 __anonadd7cd7b0902(const SectionBase &Sec) replaceAndRemoveSections() argument
456 __anonadd7cd7b0a02(const SectionBase &Sec) replaceAndRemoveSections() argument
462 __anonadd7cd7b0b02(const SectionBase &Sec) replaceAndRemoveSections() argument
468 __anonadd7cd7b0c02(const SectionBase &Sec) replaceAndRemoveSections() argument
477 __anonadd7cd7b0d02(const SectionBase &Sec) replaceAndRemoveSections() argument
498 __anonadd7cd7b0e02(const SectionBase &Sec) replaceAndRemoveSections() argument
509 __anonadd7cd7b0f02(const SectionBase &Sec) replaceAndRemoveSections() argument
531 __anonadd7cd7b1002(const SectionBase &Sec) replaceAndRemoveSections() argument
547 __anonadd7cd7b1102(const SectionBase &Sec) replaceAndRemoveSections() argument
566 SectionBase *Sec = Obj.findSection(SymInfo.SectionName); addSymbol() local
643 __anonadd7cd7b1202(const SectionBase &Sec) handleArgs() argument
701 for (auto &Sec : Obj.sections()) handleArgs() local
740 for (auto &Sec : Obj.sections()) { handleArgs() local
[all...]
H A DELFObject.cpp69 writeShdr(const SectionBase & Sec) writeShdr() argument
103 visit(SymbolTableSection & Sec) visit() argument
125 visit(RelocationSection & Sec) visit() argument
142 visit(GroupSection & Sec) visit() argument
161 visit(const SectionIndexSection & Sec) visit() argument
167 visit(const SymbolTableSection & Sec) visit() argument
173 visit(const RelocationSection & Sec) visit() argument
179 visit(const GnuDebugLinkSection & Sec) visit() argument
184 visit(const GroupSection & Sec) visit() argument
189 visit(const Section & Sec) visit() argument
346 sectionPhysicalAddr(const SectionBase * Sec) sectionPhysicalAddr() argument
354 writeSection(const SectionBase * Sec,ArrayRef<uint8_t> Data) writeSection() argument
403 visit(const Section & Sec) visit() argument
408 visit(const OwnedDataSection & Sec) visit() argument
413 visit(const StringTableSection & Sec) visit() argument
423 visit(const DynamicRelocationSection & Sec) visit() argument
435 visit(const StringTableSection & Sec) visit() argument
458 visit(const OwnedDataSection & Sec) visit() argument
464 visit(const DecompressedSection & Sec) visit() argument
499 visit(const DecompressedSection & Sec) visit() argument
530 visit(const CompressedSection & Sec) visit() argument
537 visit(const CompressedSection & Sec) visit() argument
560 CompressedSection(const SectionBase & Sec,DebugCompressionType CompressionType,bool Is64Bits) CompressedSection() argument
603 visit(const StringTableSection & Sec) visit() argument
618 visit(const SectionIndexSection & Sec) visit() argument
626 Expected<SymbolTableSection *> Sec = initialize() local
791 Expected<StringTableSection *> Sec = initialize() local
865 visit(const SymbolTableSection & Sec) visit() argument
933 Expected<SymTabType *> Sec = SecTable.getSectionOfType<SymTabType>( initialize() local
946 Expected<SectionBase *> Sec = initialize() local
987 visit(const RelocationSection & Sec) visit() argument
1034 visit(const DynamicRelocationSection & Sec) visit() argument
1140 Expected<SectionBase *> Sec = initialize() local
1182 visit(const GnuDebugLinkSection & Sec) visit() argument
1201 visit(const GroupSection & Sec) visit() argument
1219 sectionWithinSegment(const SectionBase & Sec,const Segment & Seg) sectionWithinSegment() argument
1438 for (const SectionBase &Sec : Obj.sections()) { findEhdrOffset() local
1554 Expected<SectionBase *> Sec = SecTable.getSection( initGroupSection() local
1615 Expected<SectionBase *> Sec = Obj.sections().getSection( initSymbolTable() local
1632 Expected<SectionBase *> Sec = Obj.sections().getSection( initSymbolTable() local
1700 if (T *Sec = dyn_cast<T>(*BaseSec)) getSectionOfType() local
1799 Expected<SectionBase &> Sec = makeSection(Shdr); readSectionHeaders() local
1830 Expected<const Elf_Shdr *> Sec = ElfFile.getSection(0); readSections() local
1840 Expected<StringTableSection *> Sec = readSections() local
2133 SectionBase *Sec = it.first; writeSegmentData() local
2144 for (auto &Sec : Obj.removedSections()) { writeSegmentData() local
2162 __anon64538e5c0602(const SecPtr &Sec) updateSection() argument
2195 __anon64538e5c0702(const SecPtr &Sec) removeSections() argument
2233 __anon64538e5c0802(const SectionBase *Sec) removeSections() argument
2246 __anon64538e5c0902(const SecPtr &Sec) removeSections() argument
2269 for (auto &Sec : Sections) replaceSections() local
2274 __anon64538e5c0b02(const SectionBase &Sec) replaceSections() argument
2282 for (const SecPtr &Sec : Sections) removeSymbols() local
2370 for (auto &Sec : Sections) { layoutSections() local
2384 for (auto *Sec : OutOfSegmentSections) { layoutSections() local
2401 for (auto &Sec : Obj.sections()) { layoutSectionsForOnlyKeepDebug() local
2410 for (auto *Sec : Sections) { layoutSectionsForOnlyKeepDebug() local
2463 for (const SectionBase *Sec : Seg->Sections) { layoutSegmentsForOnlyKeepDebug() local
2569 __anon64538e5c0e02(const SectionBase &Sec) removeUnneededSections() argument
2602 __anon64538e5c0f02(const SectionBase &Sec) finalize() argument
2623 __anon64538e5c1002(const SectionBase &Sec) finalize() argument
2633 for (const SectionBase &Sec : Obj.sections()) finalize() local
2692 for (const SectionBase &Sec : Obj.allocSections()) { write() local
2708 const SectionBase &Sec = *SectionsToWrite[i]; write() local
2840 for (const SectionBase *Sec : Sections) getTotalSize() local
2854 for (const SectionBase *Sec : Sections) write() local
2873 visit(const StringTableSection & Sec) visit() argument
2882 visit(const Section & Sec) visit() argument
2887 visit(const OwnedDataSection & Sec) visit() argument
2892 visit(const DynamicRelocationSection & Sec) visit() argument
2930 visit(const StringTableSection & Sec) visit() argument
3033 for (const SectionBase *Sec : Sections) getTotalSize() local
[all...]
/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
/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 toELFShdrIter(DataRefImpl Sec) toELFShdrIter() argument
382 toDRI(const Elf_Shdr * Sec) toDRI() argument
471 getSection(DataRefImpl Sec) getSection() argument
584 getSectionFlags(DataRefImpl Sec) getSectionFlags() argument
589 getSectionType(DataRefImpl Sec) getSectionType() argument
594 getSectionOffset(DataRefImpl Sec) getSectionOffset() argument
871 DataRefImpl Sec; getSymbolSection() local
890 moveSectionNext(DataRefImpl & Sec) moveSectionNext() argument
896 getSectionName(DataRefImpl Sec) getSectionName() argument
901 getSectionAddress(DataRefImpl Sec) getSectionAddress() argument
906 getSectionIndex(DataRefImpl Sec) getSectionIndex() argument
917 getSectionSize(DataRefImpl Sec) getSectionSize() argument
923 getSectionContents(DataRefImpl Sec) getSectionContents() argument
935 getSectionAlignment(DataRefImpl Sec) getSectionAlignment() argument
940 isSectionCompressed(DataRefImpl Sec) isSectionCompressed() argument
945 isSectionText(DataRefImpl Sec) isSectionText() argument
950 isSectionData(DataRefImpl Sec) isSectionData() argument
958 isSectionBSS(DataRefImpl Sec) isSectionBSS() argument
994 isSectionVirtual(DataRefImpl Sec) isSectionVirtual() argument
999 isBerkeleyText(DataRefImpl Sec) isBerkeleyText() argument
1006 isBerkeleyData(DataRefImpl Sec) isBerkeleyData() argument
1013 isDebugSection(DataRefImpl Sec) isDebugSection() argument
1027 section_rel_begin(DataRefImpl Sec) section_rel_begin() argument
1058 section_rel_end(DataRefImpl Sec) section_rel_end() argument
1082 getRelocatedSection(DataRefImpl Sec) getRelocatedSection() argument
1505 getCrelDecodeProblem(DataRefImpl Sec) getCrelDecodeProblem() argument
[all...]
H A DELF.h131 getSecIndexForError(const ELFFile<ELFT> & Obj,const typename ELFT::Shdr & Sec) getSecIndexForError() argument
145 describe(const ELFFile<ELFT> & Obj,const typename ELFT::Shdr & Sec) describe() argument
170 checkSectionOffsets(const typename ELFT::Phdr & Phdr,const typename ELFT::Shdr & Sec) checkSectionOffsets() argument
188 checkSectionVMA(const typename ELFT::Phdr & Phdr,const typename ELFT::Shdr & Sec) checkSectionVMA() argument
207 isSectionInSegment(const typename ELFT::Phdr & Phdr,const typename ELFT::Shdr & Sec) isSectionInSegment() argument
347 symbols(const Elf_Shdr * Sec) symbols() argument
353 relas(const Elf_Shdr & Sec) relas() argument
357 rels(const Elf_Shdr & Sec) rels() argument
361 relrs(const Elf_Shdr & Sec) relrs() argument
599 getSymbol(const Elf_Shdr * Sec,uint32_t Index) getSymbol() argument
615 getSectionContentsAsArray(const Elf_Shdr & Sec) getSectionContentsAsArray() argument
671 getSectionContents(const Elf_Shdr & Sec) getSectionContents() argument
1033 getVersionDefinitions(const Elf_Shdr & Sec) getVersionDefinitions() argument
1120 getVersionDependencies(const Elf_Shdr & Sec,WarningHandler WarnHandler) getVersionDependencies() argument
1281 getStringTableForSymtab(const Elf_Shdr & Sec) getStringTableForSymtab() argument
1290 getStringTableForSymtab(const Elf_Shdr & Sec,Elf_Shdr_Range Sections) getStringTableForSymtab() argument
1305 getLinkAsStrtab(const typename ELFT::Shdr & Sec) getLinkAsStrtab() argument
[all...]
/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() argument
58 for (auto &Sec : G.sections()) { in preserveDebugSections() local
103 for (auto &Sec : G.sections()) { in startSynthesis() local
394 for (auto &Sec : LG.sections()) modifyPassConfigForMachO() local
[all...]
/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
/llvm-project/llvm/lib/ObjCopy/COFF/
H A DCOFFObjcopy.cpp31 static bool isDebugSection(const Section &Sec) { in isDebugSection() argument
66 Section Sec; in addSection() local
166 __anon940dc1e90102(const Section &Sec) handleArgs() argument
188 __anon940dc1e90202(const Section &Sec) handleArgs() argument
279 __anon940dc1e90402(auto &Sec) handleArgs() argument
[all...]
H A DCOFFObject.cpp56 for (const Relocation &R : Sec.Relocs) { in markSymbols() local
91 return AssociatedSections.contains(Sec.UniqueId); in removeSections() argument
96 bool Remove = ToRemove(Sec); in removeSections() argument
[all...]
/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()
/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DObjectFileInterface.cpp81 for (auto &Sec : Obj.sections()) { getMachOObjectFileSymbolInfo() local
140 for (auto &Sec : Obj.sections()) { getELFObjectFileSymbolInfo() local
168 auto Sec = Obj.getSection(COFFSym.getSectionNumber()); getCOFFObjectFileSymbolInfo() local
221 for (auto &Sec : Obj.sections()) { getCOFFObjectFileSymbolInfo() local
[all...]
/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOObjcopy.cpp61 RemovePred = [&Config, RemovePred](const std::unique_ptr<Section> &Sec) { in removeSections() argument
68 RemovePred = [RemovePred](const std::unique_ptr<Section> &Sec) { in removeSections() argument
78 RemovePred = [&Config](const std::unique_ptr<Section> &Sec) { in removeSections() argument
292 for (const std::unique_ptr<Section> &Sec : LC.Sections) { dumpSectionToFile() local
314 Section Sec(TargetSegName, Pair.second); addSection() local
353 __anon16f7cf9d0902(const std::unique_ptr<Section> &Sec) findSection() argument
370 Section &Sec = *SecToUpdateOrErr; updateSection() local
[all...]
H A DMachOReader.cpp32 StringRef SegName(Sec.segname, strnlen(Sec.segname, sizeof(Sec.segname))); in constructSectionCommon() argument
50 constructSection(const MachO::section & Sec,uint32_t Index) constructSection() argument
54 constructSection(const MachO::section_64 & Sec,uint32_t Index) constructSection() argument
70 SectionType Sec; extractSections() local
352 for (const std::unique_ptr<Section> &Sec : LC.Sections) readSwiftVersion() local
[all...]
H A DMachOWriter.cpp168 writeSectionInLoadCommand<MachO::section>(*Sec, Begin); in writeLoadCommands() local
178 writeSectionInLoadCommand<MachO::section_64>(*Sec, Begin); in writeLoadCommands() local
215 writeSectionInLoadCommand(const Section & Sec,uint8_t * & Out) writeSectionInLoadCommand() argument
241 for (const std::unique_ptr<Section> &Sec : LC.Sections) { writeSections() local
[all...]
/llvm-project/llvm/unittests/ExecutionEngine/JITLink/
H A DLinkGraphTests.cpp169 auto &Sec = TEST() local
258 auto &Sec = TEST() local
328 auto &Sec = TEST() local
397 auto &Sec = TEST() local
445 auto &Sec = TEST() local
648 auto &Sec = TEST() local
765 auto &Sec = TEST() local
[all...]
/llvm-project/offload/plugins-nextgen/common/src/Utils/
H A DELF.cpp169 getHashTableSymbol(const ELFObjectFile<ELFT> & ELFObj,const typename ELFT::Shdr & Sec,StringRef Name) getHashTableSymbol() argument
246 getSymTableSymbol(const ELFObjectFile<ELFT> & ELFObj,const typename ELFT::Shdr & Sec,StringRef Name) getSymTableSymbol() argument
276 for (ELFSectionRef Sec : ELFObj.sections()) { getSymbolImpl() local
287 for (ELFSectionRef Sec : ELFObj.sections()) { getSymbolImpl() local
[all...]
/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
/llvm-project/llvm/lib/MC/
H A DMCDXContainerWriter.cpp51 for (const MCSection &Sec : Asm) { writeObject() local
92 for (const MCSection &Sec : Asm) { writeObject() local
/llvm-project/llvm/tools/llvm-objdump/
H A DELFDump.cpp180 getSectionLMA(const ELFFile<ELFT> & Obj,const object::ELFSectionRef & Sec) getSectionLMA() argument
198 getELFSectionLMA(const object::ELFSectionRef & Sec) getELFSectionLMA() argument
330 __anon179a38520202(const ELFSectionRef Sec) printDynamicRelocations() argument
364 printSymbolVersionDependency(const typename ELFT::Shdr & Sec) printSymbolVersionDependency() argument
[all...]

123456