Home
last modified time | relevance | path

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

12345

/freebsd/contrib/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 __anon88e350ca0202(const Section &Sec) removeSections() argument
71 __anon88e350ca0302(const Section &Sec) removeSections() argument
77 __anon88e350ca0402(const Section &Sec) removeSections() argument
84 __anon88e350ca0502(const Section &Sec) removeSections() argument
92 __anon88e350ca0602(const Section &Sec) removeSections() argument
100 __anon88e350ca0702(const Section &Sec) removeSections() argument
125 Section Sec; handleArgs() local
[all...]
H A DWasmReader.cpp23 for (const SectionRef &Sec : WasmObj.sections()) { in create() local
/freebsd/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
422 RemovePred = [&Config](const SectionBase &Sec) { in replaceAndRemoveSections()
428 RemovePred = [RemovePred](const SectionBase &Sec) { in replaceAndRemoveSections()
433 RemovePred = [RemovePred, &Obj](const SectionBase &Sec) { in replaceAndRemoveSections()
438 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()
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.cpp52 getSectionSize(const object::COFFObjectFile & Obj,const object::coff_section * Sec) getSectionSize() argument
96 getCOFFSectionName(COFFSectionIndex SectionIndex,const object::coff_section * Sec,object::COFFSymbolRef Sym) getCOFFSectionName() argument
128 Expected<const object::coff_section *> Sec = Obj.getSection(SecIndex); graphifySections() local
218 const object::coff_section *Sec = nullptr; graphifySymbols() local
[all...]
/freebsd/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 …]
/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/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() argument
66 Section Sec; in addSection() local
166 __anon139cc0b60102(const Section &Sec) handleArgs() argument
188 __anon139cc0b60202(const Section &Sec) handleArgs() argument
279 __anon139cc0b60402(auto &Sec) handleArgs() argument
[all...]
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/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DDebuggerSupportPlugin.cpp
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()) { getCOFFObjectFileSymbolInfo() local
[all...]
/freebsd/contrib/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
284 for (const std::unique_ptr<Section> &Sec : LC.Sections) { dumpSectionToFile() local
306 Section Sec(TargetSegName, Pair.second); addSection() local
345 __anonb641b5aa0902(const std::unique_ptr<Section> &Sec) findSection() argument
362 Section &Sec = *SecToUpdateOrErr; updateSection() local
[all...]
H A DMachOReader.cpp31 constructSectionCommon(const SectionType & Sec,uint32_t Index) constructSectionCommon() argument
49 constructSection(const MachO::section & Sec,uint32_t Index) constructSection() argument
53 constructSection(const MachO::section_64 & Sec,uint32_t Index) constructSection() argument
69 SectionType Sec; extractSections() local
350 for (const std::unique_ptr<Section> &Sec : LC.Sections) readSwiftVersion() local
[all...]
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
/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/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()
/freebsd/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
/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
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 …]
/freebsd/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