Home
last modified time | relevance | path

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

123456

/llvm-project-15.0.7/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()
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()
100 RemovePred = [&Config, RemovePred](const Section &Sec) { in removeSections()
[all …]
H A DWasmReader.cpp23 for (const SectionRef &Sec : WasmObj.sections()) { in create() local
/llvm-project-15.0.7/llvm/lib/ObjCopy/ELF/
H A DELFObjcopy.cpp55 static bool isDebugSection(const SectionBase &Sec) { in isDebugSection()
59 static bool isDWOSection(const SectionBase &Sec) { in isDWOSection()
177 for (auto &Sec : Obj.sections()) { in dumpSectionToFile() local
199 static bool isCompressable(const SectionBase &Sec) { in isCompressable()
211 for (auto &Sec : Obj.sections()) in replaceDebugSections() local
375 RemovePred = [&Config](const SectionBase &Sec) { in replaceAndRemoveSections()
381 RemovePred = [RemovePred](const SectionBase &Sec) { in replaceAndRemoveSections()
409 RemovePred = [RemovePred](const SectionBase &Sec) { in replaceAndRemoveSections()
415 RemovePred = [RemovePred](const SectionBase &Sec) { in replaceAndRemoveSections()
641 for (auto &Sec : Obj.sections()) in handleArgs() local
[all …]
H A DELFObject.cpp578 Expected<SymbolTableSection *> Sec = in initialize() local
737 Expected<StringTableSection *> Sec = in initialize() local
890 Expected<SectionBase *> Sec = in initialize() local
1080 Expected<SectionBase *> Sec = in initialize() local
1633 if (T *Sec = dyn_cast<T>(*BaseSec)) in getSectionOfType() local
2052 SectionBase *Sec = it.first; in writeSegmentData() local
2175 for (auto &Sec : Sections) in replaceSections() local
2188 for (const SecPtr &Sec : Sections) in removeSymbols() local
2276 for (auto &Sec : Sections) { in layoutSections() local
2307 for (auto &Sec : Obj.sections()) { in layoutSectionsForOnlyKeepDebug() local
[all …]
/llvm-project-15.0.7/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-15.0.7/llvm/include/llvm/Object/
H A DELFObjectFile.h348 const Elf_Shdr *toELFShdrIter(DataRefImpl Sec) const { in toELFShdrIter()
352 DataRefImpl toDRI(const Elf_Shdr *Sec) const { in toDRI()
427 const Elf_Shdr *getSection(DataRefImpl Sec) const { in getSection()
804 DataRefImpl Sec; in getSymbolSection() local
856 ELFObjectFile<ELFT>::getSectionContents(DataRefImpl Sec) const { in getSectionContents()
879 bool ELFObjectFile<ELFT>::isSectionText(DataRefImpl Sec) const { in isSectionText()
884 bool ELFObjectFile<ELFT>::isSectionData(DataRefImpl Sec) const { in isSectionData()
892 bool ELFObjectFile<ELFT>::isSectionBSS(DataRefImpl Sec) const { in isSectionBSS()
933 bool ELFObjectFile<ELFT>::isBerkeleyText(DataRefImpl Sec) const { in isBerkeleyText()
961 ELFObjectFile<ELFT>::section_rel_begin(DataRefImpl Sec) const { in section_rel_begin()
[all …]
H A DELF.h128 const typename ELFT::Shdr &Sec) { in getSecIndexForError()
142 const typename ELFT::Shdr &Sec) { in describe()
258 Expected<Elf_Sym_Range> symbols(const Elf_Shdr *Sec) const { in symbols()
264 Expected<Elf_Rela_Range> relas(const Elf_Shdr &Sec) const { in relas()
268 Expected<Elf_Rel_Range> rels(const Elf_Shdr &Sec) const { in rels()
272 Expected<Elf_Relr_Range> relrs(const Elf_Shdr &Sec) const { in relrs()
542 ELFFile<ELFT>::getSectionContents(const Elf_Shdr &Sec) const { in getSectionContents()
896 ELFFile<ELFT>::getVersionDefinitions(const Elf_Shdr &Sec) const { in getVersionDefinitions()
983 ELFFile<ELFT>::getVersionDependencies(const Elf_Shdr &Sec, in getVersionDependencies()
1144 ELFFile<ELFT>::getStringTableForSymtab(const Elf_Shdr &Sec) const { in getStringTableForSymtab()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsOptionRecord.cpp36 MCSectionELF *Sec = in EmitMipsOptionRecord() local
55 MCSectionELF *Sec = Context.getELFSection(".reginfo", ELF::SHT_MIPS_REGINFO, in EmitMipsOptionRecord() local
/llvm-project-15.0.7/llvm/lib/ObjCopy/COFF/
H A DCOFFObjcopy.cpp30 static bool isDebugSection(const Section &Sec) { in isDebugSection()
65 Section Sec; in addSection() local
136 Obj.removeSections([&Config](const Section &Sec) { in handleArgs()
158 Obj.truncateSections([](const Section &Sec) { in handleArgs()
249 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()
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCFragment.h116 explicit MCDummyFragment(MCSection *Sec) : MCFragment(FT_Dummy, false, Sec) {} in MCDummyFragment()
132 MCSection *Sec) in MCEncodedFragment()
192 MCSection *Sec) in MCEncodedFragmentWithContents()
213 MCSection *Sec) in MCEncodedFragmentWithFixups()
259 : MCEncodedFragmentWithContents(FT_CompactEncodedInst, true, Sec) { in MCEncodedFragmentWithContents() argument
280 : MCEncodedFragmentWithFixups(FT_Relaxable, true, Sec), in MCEncodedFragmentWithFixups() argument
356 : MCFragment(FT_Fill, false, Sec), ValueSize(VSize), Value(Value), in MCFragment() argument
385 : MCFragment(FT_Nops, false, Sec), Size(NumBytes), in MCFragment() argument
413 : MCFragment(FT_Org, false, Sec), Value(Value), Offset(&Offset), in MCFragment() argument
503 : MCFragment(FT_SymbolId, false, Sec), Sym(Sym) {} in MCFragment() argument
[all …]
H A DMCMachObjectWriter.h154 uint64_t getSectionAddress(const MCSection *Sec) const { in getSectionAddress()
232 void addRelocation(const MCSymbol *RelSymbol, const MCSection *Sec, in addRelocation()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/
H A DDebuggerSupportPlugin.cpp45 static bool isDebugSection(Section &Sec) { in isDebugSection()
67 for (auto &Sec : G.sections()) { in preserveDebugSections() local
129 Section *Sec = nullptr; in startSynthesis() member
139 for (auto &Sec : G.sections()) { in startSynthesis() local
267 typename MachOTraits::Section Sec; in startSynthesis() local
305 for (auto *Sec : NonDebugSections) { in completeSynthesisAndRegister() local
442 for (auto &Sec : LG.sections()) in modifyPassConfigForMachO() local
H A DObjectFileInterface.cpp78 for (auto &Sec : Obj.sections()) { in getMachOObjectFileSymbolInfo() local
137 for (auto &Sec : Obj.sections()) { in getELFObjectFileSymbolInfo() local
165 auto Sec = Obj.getSection(COFFSym.getSectionNumber()); in getCOFFObjectFileSymbolInfo() local
/llvm-project-15.0.7/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-15.0.7/llvm/lib/ExecutionEngine/JITLink/
H A DDefineExternalSectionStartAndEndSymbols.h30 Section *Sec = nullptr; member
73 SectionRange &getSectionRange(Section &Sec) { in getSectionRange()
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
206 const object::coff_section *Sec = nullptr; in graphifySymbols() local
/llvm-project-15.0.7/llvm/lib/ObjCopy/MachO/
H A DMachOReader.cpp31 static Section constructSectionCommon(const SectionType &Sec, uint32_t Index) { in constructSectionCommon()
49 Section constructSection(const MachO::section &Sec, uint32_t Index) { in constructSection()
53 Section constructSection(const MachO::section_64 &Sec, uint32_t Index) { in constructSection()
69 SectionType Sec; in extractSections() local
339 for (const std::unique_ptr<Section> &Sec : LC.Sections) in readSwiftVersion() local
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()
281 for (const std::unique_ptr<Section> &Sec : LC.Sections) { in dumpSectionToFile() local
303 Section Sec(TargetSegName, Pair.second); in addSection() local
342 [SecName](const std::unique_ptr<Section> &Sec) { in findSection()
359 Section &Sec = *SecToUpdateOrErr; in updateSection() local
H A DMachOWriter.cpp167 for (const std::unique_ptr<Section> &Sec : LC.Sections) in writeLoadCommands() local
177 for (const std::unique_ptr<Section> &Sec : LC.Sections) in writeLoadCommands() local
214 void MachOWriter::writeSectionInLoadCommand(const Section &Sec, uint8_t *&Out) { in writeSectionInLoadCommand()
240 for (const std::unique_ptr<Section> &Sec : LC.Sections) { in writeSections() local
/llvm-project-15.0.7/llvm/lib/Object/
H A DSymbolSize.cpp29 static unsigned getSectionID(const ObjectFile &O, SectionRef Sec) { in getSectionID()
75 for (SectionRef Sec : O.sections()) { in computeSymbolSizes() local
/llvm-project-15.0.7/llvm/unittests/ExecutionEngine/JITLink/
H A DLinkGraphTests.cpp146 auto &Sec = G.createSection("__data", MemProt::Read | MemProt::Write); in TEST() local
215 auto &Sec = G.createSection("__data", MemProt::Read | MemProt::Write); in TEST() local
263 auto &Sec = G.createSection("__data", MemProt::Read | MemProt::Write); in TEST() local
310 auto &Sec = G.createSection("__data", MemProt::Read | MemProt::Write); in TEST() local
505 auto &Sec = G.createSection("__data", MemProt::Read | MemProt::Write); in TEST() local
/llvm-project-15.0.7/llvm/lib/MC/
H A DMCDXContainerWriter.cpp56 for (const MCSection &Sec : Asm) { in writeObject() local
93 for (const MCSection &Sec : Asm) { in writeObject() local
H A DMCELFObjectTargetWriter.cpp31 MCSectionELF &Sec) {} in addTargetSectionFlags()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MachObjectWriter.cpp317 const MCSection &Sec = Symbol->getSection(); in recordRelocation() local
356 const MCSection &Sec = Symbol->getSection(); in recordRelocation() local

123456