Home
last modified time | relevance | path

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

123456

/freebsd/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/contrib/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObject.cpp66 template <class ELFT> void ELFWriter<ELFT>::writeShdr(const SectionBase &Sec) { in writeShdr()
100 Error ELFSectionSizer<ELFT>::visit(SymbolTableSection &Sec) { in visit()
122 Error ELFSectionSizer<ELFT>::visit(RelocationSection &Sec) { in visit()
139 template <class ELFT> Error ELFSectionSizer<ELFT>::visit(GroupSection &Sec) { in visit()
158 Error BinarySectionWriter::visit(const SectionIndexSection &Sec) { in visit()
164 Error BinarySectionWriter::visit(const SymbolTableSection &Sec) { in visit()
170 Error BinarySectionWriter::visit(const RelocationSection &Sec) { in visit()
176 Error BinarySectionWriter::visit(const GnuDebugLinkSection &Sec) { in visit()
181 Error BinarySectionWriter::visit(const GroupSection &Sec) { in visit()
186 Error SectionWriter::visit(const Section &Sec) { in visit()
[all …]
H A DELFObjcopy.cpp49 static bool isDebugSection(const SectionBase &Sec) { in isDebugSection()
53 static bool isDWOSection(const SectionBase &Sec) { in isDWOSection()
57 static bool onlyKeepDWOPred(const Object &Obj, const SectionBase &Sec) { in onlyKeepDWOPred()
105 static void setSectionType(SectionBase &Sec, uint64_t Type) { in setSectionType()
113 static Error setSectionFlagsAndType(SectionBase &Sec, SectionFlag Flags, in setSectionFlagsAndType()
190 for (auto &Sec : Obj.sections()) { in dumpSectionToFile() local
418 RemovePred = [&Config](const SectionBase &Sec) { in replaceAndRemoveSections()
424 RemovePred = [RemovePred](const SectionBase &Sec) { in replaceAndRemoveSections()
429 RemovePred = [RemovePred, &Obj](const SectionBase &Sec) { in replaceAndRemoveSections()
434 RemovePred = [RemovePred, &Obj](const SectionBase &Sec) { in replaceAndRemoveSections()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DDefineExternalSectionStartAndEndSymbols.h30 Section *Sec = nullptr; member
73 SectionRange &getSectionRange(Section &Sec) { in getSectionRange()
116 if (auto *Sec = G.findSectionByName( in identifyELFSectionStartAndEndSymbols() local
120 if (auto *Sec = in identifyELFSectionStartAndEndSymbols() local
138 if (auto *Sec = G.findSectionByName(SectionName)) in identifyMachOSectionStartAndEndSymbols() local
144 if (auto *Sec = G.findSectionByName(SectionName)) in identifyMachOSectionStartAndEndSymbols() local
H A DMachO.cpp90 static Expected<Block &> createLocalHeaderBlock(LinkGraph &G, Section &Sec) { in createLocalHeaderBlock()
115 Section *Sec = G.findSectionByName(LocalHeaderSectionName); in getOrCreateLocalMachOHeader() local
126 for (auto &Sec : G.sections()) in getOrCreateLocalMachOHeader() local
H A DCOFFLinkGraphBuilder.cpp47 const object::coff_section *Sec) { in getSectionSize()
91 const object::coff_section *Sec, in getCOFFSectionName()
123 Expected<const object::coff_section *> Sec = Obj.getSection(SecIndex); in graphifySections() local
213 const object::coff_section *Sec = nullptr; in graphifySymbols() local
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DGOFFObjectFile.h99 uint64_t getSectionIndex(DataRefImpl Sec) const override { return Sec.d.a; } in getSectionIndex()
101 bool isSectionCompressed(DataRefImpl Sec) const override { return false; } in isSectionCompressed()
104 bool isSectionBSS(DataRefImpl Sec) const override { return false; } in isSectionBSS()
105 bool isSectionVirtual(DataRefImpl Sec) const override { return false; } in isSectionVirtual()
106 relocation_iterator section_rel_begin(DataRefImpl Sec) const override { in section_rel_begin()
109 relocation_iterator section_rel_end(DataRefImpl Sec) const override { in section_rel_end()
H A DELFObjectFile.h381 const Elf_Shdr *toELFShdrIter(DataRefImpl Sec) const { in toELFShdrIter()
385 DataRefImpl toDRI(const Elf_Shdr *Sec) const { in toDRI()
477 const Elf_Shdr *getSection(DataRefImpl Sec) const { in getSection()
590 uint64_t ELFObjectFile<ELFT>::getSectionFlags(DataRefImpl Sec) const { in getSectionFlags()
595 uint32_t ELFObjectFile<ELFT>::getSectionType(DataRefImpl Sec) const { in getSectionType()
600 uint64_t ELFObjectFile<ELFT>::getSectionOffset(DataRefImpl Sec) const { in getSectionOffset()
877 DataRefImpl Sec; in getSymbolSection() local
896 void ELFObjectFile<ELFT>::moveSectionNext(DataRefImpl &Sec) const { in moveSectionNext()
902 Expected<StringRef> ELFObjectFile<ELFT>::getSectionName(DataRefImpl Sec) const { in getSectionName()
907 uint64_t ELFObjectFile<ELFT>::getSectionAddress(DataRefImpl Sec) const { in getSectionAddress()
[all …]
H A DELF.h132 const typename ELFT::Shdr &Sec) { in getSecIndexForError()
146 const typename ELFT::Shdr &Sec) { in describe()
171 const typename ELFT::Shdr &Sec) { in checkSectionOffsets()
189 const typename ELFT::Shdr &Sec) { in checkSectionVMA()
208 const typename ELFT::Shdr &Sec) { in isSectionInSegment()
353 Expected<Elf_Sym_Range> symbols(const Elf_Shdr *Sec) const { in symbols()
359 Expected<Elf_Rela_Range> relas(const Elf_Shdr &Sec) const { in relas()
363 Expected<Elf_Rel_Range> rels(const Elf_Shdr &Sec) const { in rels()
367 Expected<Elf_Relr_Range> relrs(const Elf_Shdr &Sec) const { in relrs()
605 ELFFile<ELFT>::getSymbol(const Elf_Shdr *Sec, uint32_t Index) const { in getSymbol()
[all …]
/freebsd/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/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Debugging/
H A DDebugInfoSupport.cpp33 static void preserveDWARFSection(LinkGraph &G, Section &Sec) { in preserveDWARFSection()
49 static SmallVector<char, 0> getSectionData(Section &Sec) { in getSectionData()
83 for (auto &Sec : G.sections()) { in preserveDebugSections() local
102 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
400 for (auto &Sec : LG.sections()) in modifyPassConfigForMachO() local
/freebsd/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
/freebsd/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()
192 Obj.truncateSections([DebugDir](const Section &Sec) { in handleArgs()
287 auto It = llvm::find_if(Obj.getMutableSections(), [&](auto &Sec) { in handleArgs()
H A DCOFFObject.cpp57 for (const Section &Sec : Sections) { in markSymbols() local
92 auto RemoveAssociated = [&AssociatedSections](const Section &Sec) { in removeSections()
97 llvm::erase_if(Sections, [ToRemove, &RemovedSections](const Section &Sec) { in removeSections()
/freebsd/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()
311 for (const std::unique_ptr<Section> &Sec : LC.Sections) { in dumpSectionToFile() local
333 Section Sec(TargetSegName, Pair.second); in addSection() local
373 for (const auto& Sec : LC.Sections) in findSection() local
390 [SecName](const std::unique_ptr<Section> &Sec) { in findSection()
407 Section &Sec = *SecToUpdateOrErr; in updateSection() local
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
351 for (const std::unique_ptr<Section> &Sec : LC.Sections) in readSwiftVersion() 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
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DDebuggerSupportPlugin.cpp
H A DObjectFileInterface.cpp79 for (auto &Sec : Obj.sections()) { in getMachOObjectFileSymbolInfo() local
138 for (auto &Sec : Obj.sections()) { in getELFObjectFileSymbolInfo() local
166 auto Sec = Obj.getSection(COFFSym.getSectionNumber()); in getCOFFObjectFileSymbolInfo() local
219 for (auto &Sec : Obj.sections()) { in getCOFFObjectFileSymbolInfo() local
/freebsd/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/contrib/llvm-project/llvm/lib/MC/
H A DMCDXContainerWriter.cpp28 for (const MCSection &Sec : Asm) { in writeObject() local
69 for (const MCSection &Sec : Asm) { in writeObject() local
H A DWinCOFFObjectWriter.cpp213 static bool isDwoSection(const MCSection &Sec) { in isDwoSection()
259 static uint32_t getAlignment(const MCSectionCOFF &Sec) { in getAlignment()
373 COFFSection *Sec = nullptr; in defineSymbol() local
593 void WinCOFFWriter::writeSection(const COFFSection &Sec) { in writeSection()
741 COFFSection *Sec = SectionMap[&Section]; in assignFileOffsets() local
857 COFFSection *Sec = SectionMap[MCSec]; in recordRelocation() local
1070 auto *Sec = getContext().getCOFFSection(".llvm_addrsig", in writeObject() local
1093 auto *Sec = getContext().getCOFFSection(".llvm.call-graph-profile", in writeObject() local
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DELFDump.cpp187 const object::ELFSectionRef &Sec) { in getSectionLMA()
205 uint64_t objdump::getELFSectionLMA(const object::ELFSectionRef &Sec) { in getELFSectionLMA()
346 if (!any_of(Obj.sections(), [](const ELFSectionRef Sec) { in printDynamicRelocations()
380 const typename ELFT::Shdr &Sec) { in printSymbolVersionDependency()
/freebsd/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

123456