Home
last modified time | relevance | path

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

12345

/openbsd-src/gnu/llvm/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 …]
/openbsd-src/gnu/llvm/llvm/lib/ObjCopy/ELF/
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()
100 static void setSectionFlagsAndType(SectionBase &Sec, SectionFlag Flags) { in setSectionFlagsAndType()
176 for (auto &Sec : Obj.sections()) { in dumpSectionToFile() local
198 static bool isCompressable(const SectionBase &Sec) { in isCompressable()
210 for (auto &Sec : Obj.sections()) in replaceDebugSections() local
374 RemovePred = [&Config](const SectionBase &Sec) { in replaceAndRemoveSections()
380 RemovePred = [RemovePred](const SectionBase &Sec) { in replaceAndRemoveSections()
385 RemovePred = [RemovePred, &Obj](const SectionBase &Sec) { in replaceAndRemoveSections()
[all …]
H A DELFObject.cpp67 template <class ELFT> void ELFWriter<ELFT>::writeShdr(const SectionBase &Sec) { in writeShdr()
101 Error ELFSectionSizer<ELFT>::visit(SymbolTableSection &Sec) { in visit()
110 Error ELFSectionSizer<ELFT>::visit(RelocationSection &Sec) { in visit()
123 template <class ELFT> Error ELFSectionSizer<ELFT>::visit(GroupSection &Sec) { in visit()
142 Error BinarySectionWriter::visit(const SectionIndexSection &Sec) { in visit()
148 Error BinarySectionWriter::visit(const SymbolTableSection &Sec) { in visit()
154 Error BinarySectionWriter::visit(const RelocationSection &Sec) { in visit()
160 Error BinarySectionWriter::visit(const GnuDebugLinkSection &Sec) { in visit()
165 Error BinarySectionWriter::visit(const GroupSection &Sec) { in visit()
170 Error SectionWriter::visit(const Section &Sec) { in visit()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/Object/
H A DELFObjectFile.h349 const Elf_Shdr *toELFShdrIter(DataRefImpl Sec) const { in toELFShdrIter()
353 DataRefImpl toDRI(const Elf_Shdr *Sec) const { in toDRI()
428 const Elf_Shdr *getSection(DataRefImpl Sec) const { in getSection()
535 uint64_t ELFObjectFile<ELFT>::getSectionFlags(DataRefImpl Sec) const { in getSectionFlags()
540 uint32_t ELFObjectFile<ELFT>::getSectionType(DataRefImpl Sec) const { in getSectionType()
545 uint64_t ELFObjectFile<ELFT>::getSectionOffset(DataRefImpl Sec) const { in getSectionOffset()
808 DataRefImpl Sec; in getSymbolSection() local
827 void ELFObjectFile<ELFT>::moveSectionNext(DataRefImpl &Sec) const { in moveSectionNext()
833 Expected<StringRef> ELFObjectFile<ELFT>::getSectionName(DataRefImpl Sec) const { in getSectionName()
838 uint64_t ELFObjectFile<ELFT>::getSectionAddress(DataRefImpl Sec) const { in getSectionAddress()
[all …]
H A DELF.h129 const typename ELFT::Shdr &Sec) { in getSecIndexForError()
143 const typename ELFT::Shdr &Sec) { in describe()
260 Expected<Elf_Sym_Range> symbols(const Elf_Shdr *Sec) const { in symbols()
266 Expected<Elf_Rela_Range> relas(const Elf_Shdr &Sec) const { in relas()
270 Expected<Elf_Rel_Range> rels(const Elf_Shdr &Sec) const { in rels()
274 Expected<Elf_Relr_Range> relrs(const Elf_Shdr &Sec) const { in relrs()
472 ELFFile<ELFT>::getSymbol(const Elf_Shdr *Sec, uint32_t Index) const { in getSymbol()
488 ELFFile<ELFT>::getSectionContentsAsArray(const Elf_Shdr &Sec) const { in getSectionContentsAsArray()
544 ELFFile<ELFT>::getSectionContents(const Elf_Shdr &Sec) const { in getSectionContents()
906 ELFFile<ELFT>::getVersionDefinitions(const Elf_Shdr &Sec) const { in getVersionDefinitions()
[all …]
/openbsd-src/gnu/llvm/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
/openbsd-src/gnu/llvm/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
319 : MCFragment(FT_Align, false, Sec), Alignment(Alignment), EmitNops(false), in MCFragment() 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
[all …]
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
H A DObjectFileInterface.cpp80 for (auto &Sec : Obj.sections()) { in getMachOObjectFileSymbolInfo() local
139 for (auto &Sec : Obj.sections()) { in getELFObjectFileSymbolInfo() local
167 auto Sec = Obj.getSection(COFFSym.getSectionNumber()); in getCOFFObjectFileSymbolInfo() local
220 for (auto &Sec : Obj.sections()) { in getCOFFObjectFileSymbolInfo() local
296 for (auto &Sec : G.sections()) { in hasInitializerSection() local
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
/openbsd-src/gnu/llvm/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()
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 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
350 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()
241 for (const std::unique_ptr<Section> &Sec : LC.Sections) { in writeSections() local
/openbsd-src/gnu/llvm/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
/openbsd-src/gnu/llvm/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
209 const object::coff_section *Sec = nullptr; in graphifySymbols() local
/openbsd-src/gnu/llvm/llvm/include/llvm/DWP/
H A DDWPStringPool.h34 MCSection *Sec; variable
39 DWPStringPool(MCStreamer &Out, MCSection *Sec) : Out(Out), Sec(Sec) {} in DWPStringPool()
/openbsd-src/gnu/llvm/llvm/lib/Object/
H A DCOFFObjectFile.cpp251 Expected<const coff_section *> Sec = getSection(Symb.getSectionNumber()); in getSymbolSection() local
265 const coff_section *Sec = toSec(Ref); in moveSectionNext() local
271 const coff_section *Sec = toSec(Ref); in getSectionName() local
276 const coff_section *Sec = toSec(Ref); in getSectionAddress() local
295 const coff_section *Sec = toSec(Ref); in getSectionContents() local
303 const coff_section *Sec = toSec(Ref); in getSectionAlignment() local
312 const coff_section *Sec = toSec(Ref); in isSectionText() local
317 const coff_section *Sec = toSec(Ref); in isSectionData() local
322 const coff_section *Sec = toSec(Ref); in isSectionBSS() local
350 const coff_section *Sec = toSec(Ref); in isSectionVirtual() local
[all …]
H A DSymbolSize.cpp29 static unsigned getSectionID(const ObjectFile &O, SectionRef Sec) { in getSectionID()
75 for (SectionRef Sec : O.sections()) { in computeSymbolSizes() local
/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DMachObjectWriter.cpp122 uint64_t MachObjectWriter::getPaddingSize(const MCSection *Sec, in getPaddingSize()
217 const MCSection &Sec, uint64_t VMAddr, in writeSection()
646 for (const MCSection *Sec : Layout.getSectionOrder()) { in computeSectionAddresses() local
864 for (const MCSection &Sec : Asm) { in writeObject() local
897 const auto &Sec = cast<MCSectionMachO>(Section); in writeObject() local
1003 for (const MCSection &Sec : Asm) { in writeObject() local
1014 for (const MCSection &Sec : Asm) { in writeObject() local
H A DMCDXContainerWriter.cpp56 for (const MCSection &Sec : Asm) { in writeObject() local
97 for (const MCSection &Sec : Asm) { in writeObject() local
H A DMCFragment.cpp43 const MCSection *Sec = F->getParent(); in isFragmentValid() local
52 MCSection *Sec = F->getParent(); in canGetFragmentOffset() local
81 MCSection *Sec = F->getParent(); in ensureValid() local
/openbsd-src/gnu/llvm/llvm/tools/llvm-readobj/
H A DELFDumper.cpp421 const typename ELFT::Shdr &Sec, in getLinkAsSymtab()
455 ELFDumper<ELFT>::getVersionTable(const Elf_Shdr &Sec, ArrayRef<Elf_Sym> *SymTab, in getVersionTable()
1731 for (const Elf_Shdr &Sec : cantFail(Obj.sections())) { in findDynamic() local
1863 for (const Elf_Shdr &Sec : Sections) { in ELFDumper() local
2689 for (const Elf_Shdr &Sec : cantFail(Obj.sections())) { in printAttributes() local
3238 const Elf_Shdr &Sec, const Elf_Shdr *SymTab) { in printReloc()
3424 for (const Elf_Shdr &Sec : cantFail(Obj.sections())) { in getGroups() local
3595 static bool isRelocationSec(const typename ELFT::Shdr &Sec) { in isRelocationSec()
3603 auto GetEntriesNum = [&](const Elf_Shdr &Sec) -> Expected<size_t> { in printRelocations()
3627 for (const Elf_Shdr &Sec : cantFail(this->Obj.sections())) { in printRelocations() local
[all …]
/openbsd-src/gnu/llvm/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

12345