Home
last modified time | relevance | path

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

12345

/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/ELF/
H A DELFObjcopy.cpp56 static bool isDebugSection(const SectionBase &Sec) { in isDebugSection()
61 static bool isDWOSection(const SectionBase &Sec) { in isDWOSection()
65 static bool onlyKeepDWOPred(const Object &Obj, const SectionBase &Sec) { in onlyKeepDWOPred()
103 static void setSectionFlagsAndType(SectionBase &Sec, SectionFlag Flags) { in setSectionFlagsAndType()
179 for (auto &Sec : Obj.sections()) { in dumpSectionToFile() local
201 static bool isCompressable(const SectionBase &Sec) { in isCompressable()
214 for (auto &Sec : Obj.sections()) in replaceDebugSections() local
231 for (auto &Sec : Obj.sections()) in replaceDebugSections() local
234 RemovePred = [ShouldReplace, RemovePred](const SectionBase &Sec) { in replaceDebugSections()
347 RemovePred = [&Config](const SectionBase &Sec) { in replaceAndRemoveSections()
[all …]
H A DObject.cpp69 template <class ELFT> void ELFWriter<ELFT>::writeShdr(const SectionBase &Sec) { in writeShdr()
103 Error ELFSectionSizer<ELFT>::visit(SymbolTableSection &Sec) { in visit()
112 Error ELFSectionSizer<ELFT>::visit(RelocationSection &Sec) { in visit()
125 template <class ELFT> Error ELFSectionSizer<ELFT>::visit(GroupSection &Sec) { in visit()
144 Error BinarySectionWriter::visit(const SectionIndexSection &Sec) { in visit()
150 Error BinarySectionWriter::visit(const SymbolTableSection &Sec) { in visit()
156 Error BinarySectionWriter::visit(const RelocationSection &Sec) { in visit()
162 Error BinarySectionWriter::visit(const GnuDebugLinkSection &Sec) { in visit()
167 Error BinarySectionWriter::visit(const GroupSection &Sec) { in visit()
172 Error SectionWriter::visit(const Section &Sec) { in visit()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Object/
H A DELFObjectFile.h336 const Elf_Shdr *toELFShdrIter(DataRefImpl Sec) const { in toELFShdrIter()
340 DataRefImpl toDRI(const Elf_Shdr *Sec) const { in toDRI()
414 const Elf_Shdr *getSection(DataRefImpl Sec) const { in getSection()
519 uint64_t ELFObjectFile<ELFT>::getSectionFlags(DataRefImpl Sec) const { in getSectionFlags()
524 uint32_t ELFObjectFile<ELFT>::getSectionType(DataRefImpl Sec) const { in getSectionType()
529 uint64_t ELFObjectFile<ELFT>::getSectionOffset(DataRefImpl Sec) const { in getSectionOffset()
788 DataRefImpl Sec; in getSymbolSection() local
807 void ELFObjectFile<ELFT>::moveSectionNext(DataRefImpl &Sec) const { in moveSectionNext()
813 Expected<StringRef> ELFObjectFile<ELFT>::getSectionName(DataRefImpl Sec) const { in getSectionName()
818 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()
261 Expected<Elf_Sym_Range> symbols(const Elf_Shdr *Sec) const { in symbols()
267 Expected<Elf_Rela_Range> relas(const Elf_Shdr &Sec) const { in relas()
271 Expected<Elf_Rel_Range> rels(const Elf_Shdr &Sec) const { in rels()
275 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()
872 ELFFile<ELFT>::getVersionDefinitions(const Elf_Shdr &Sec) const { in getVersionDefinitions()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/COFF/
H A DCOFFObjcopy.cpp30 static bool isDebugSection(const Section &Sec) { in isDebugSection()
65 Section Sec; in addSection() local
97 static void setSectionFlags(Section &Sec, SectionFlag AllFlags) { in setSectionFlags()
136 Obj.removeSections([&Config](const Section &Sec) { in handleArgs()
158 Obj.truncateSections([](const Section &Sec) { in handleArgs()
H A DObject.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()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/MC/
H A DMCFragment.h117 explicit MCDummyFragment(MCSection *Sec) : MCFragment(FT_Dummy, false, Sec) {} in MCDummyFragment()
133 MCSection *Sec) in MCEncodedFragment()
193 MCSection *Sec) in MCEncodedFragmentWithContents()
214 MCSection *Sec) in MCEncodedFragmentWithFixups()
260 : MCEncodedFragmentWithContents(FT_CompactEncodedInst, true, Sec) { in MCEncodedFragmentWithContents() argument
281 : MCEncodedFragmentWithFixups(FT_Relaxable, true, Sec), in MCEncodedFragmentWithFixups() argument
317 : MCFragment(FT_Align, false, Sec), Alignment(Alignment), EmitNops(false), in MCFragment() argument
349 : MCFragment(FT_Fill, false, Sec), ValueSize(VSize), Value(Value), in MCFragment() argument
375 : MCFragment(FT_Nops, false, Sec), Size(NumBytes), in MCFragment() argument
401 : MCFragment(FT_Org, false, Sec), Value(Value), Offset(&Offset), 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()
/netbsd-src/external/apache2/llvm/dist/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
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/wasm/
H A DWasmObjcopy.cpp25 for (const Section &Sec : Obj.Sections) { in dumpSectionToFile() local
52 Obj.removeSections([&Config](const Section &Sec) { in handleArgs()
65 Section Sec; in handleArgs() local
H A DReader.cpp23 for (const SectionRef &Sec : WasmObj.sections()) { in create() local
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/MachO/
H A DMachOReader.cpp31 Section constructSectionCommon(SectionType Sec, uint32_t Index) { in constructSectionCommon()
52 template <> Section constructSection(MachO::section Sec, uint32_t Index) { in constructSection()
56 template <> Section constructSection(MachO::section_64 Sec, uint32_t Index) { in constructSection()
73 SectionType Sec; in extractSections() local
304 for (const std::unique_ptr<Section> &Sec : LC.Sections) in readSwiftVersion() local
H A DMachOWriter.cpp178 for (const std::unique_ptr<Section> &Sec : LC.Sections) in writeLoadCommands() local
188 for (const std::unique_ptr<Section> &Sec : LC.Sections) in writeLoadCommands() local
225 void MachOWriter::writeSectionInLoadCommand(const Section &Sec, uint8_t *&Out) { in writeSectionInLoadCommand()
251 for (const std::unique_ptr<Section> &Sec : LC.Sections) { in writeSections() local
H A DMachOObjcopy.cpp58 RemovePred = [&Config, RemovePred](const std::unique_ptr<Section> &Sec) { in removeSections()
65 RemovePred = [RemovePred](const std::unique_ptr<Section> &Sec) { in removeSections()
75 RemovePred = [&Config](const std::unique_ptr<Section> &Sec) { in removeSections()
258 for (const std::unique_ptr<Section> &Sec : LC.Sections) { in dumpSectionToFile() local
286 Section Sec(TargetSegName, Pair.second); in addSection() local
H A DObject.cpp75 [&](const std::unique_ptr<Section> &Sec) { return !ToRemove(Sec); }); in removeSections()
94 for (const std::unique_ptr<Section> &Sec : LC.Sections) in removeSections() local
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/JITLink/
H A DDefineExternalSectionStartAndEndSymbols.h30 Section *Sec = nullptr; member
73 SectionRange &getSectionRange(Section &Sec) { in getSectionRange()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-dwp/
H A DDWPStringPool.h34 MCSection *Sec; variable
39 DWPStringPool(MCStreamer &Out, MCSection *Sec) : Out(Out), Sec(Sec) {} in DWPStringPool()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/
H A DSymbolSize.cpp28 static unsigned getSectionID(const ObjectFile &O, SectionRef Sec) { in getSectionID()
71 for (SectionRef Sec : O.sections()) { in computeSymbolSizes() local
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
343 const coff_section *Sec = toSec(Ref); in isSectionVirtual() local
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/
H A DMachObjectWriter.cpp120 uint64_t MachObjectWriter::getPaddingSize(const MCSection *Sec, in getPaddingSize()
215 const MCSection &Sec, uint64_t VMAddr, in writeSection()
645 for (const MCSection *Sec : Layout.getSectionOrder()) { in computeSectionAddresses() local
819 for (const MCSection &Sec : Asm) { in writeObject() local
852 const auto &Sec = cast<MCSectionMachO>(Section); in writeObject() local
953 for (const MCSection &Sec : Asm) { in writeObject() local
964 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
/netbsd-src/external/apache2/llvm/dist/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
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-readobj/
H A DELFDumper.cpp402 const typename ELFT::Shdr &Sec, in getLinkAsSymtab()
436 ELFDumper<ELFT>::getVersionTable(const Elf_Shdr &Sec, ArrayRef<Elf_Sym> *SymTab, in getVersionTable()
1635 for (const Elf_Shdr &Sec : cantFail(Obj.sections())) { in findDynamic() local
1767 for (const Elf_Shdr &Sec : Sections) { in ELFDumper() local
2579 for (const Elf_Shdr &Sec : cantFail(Obj.sections())) { in printAttributes() local
3135 const Elf_Shdr &Sec, const Elf_Shdr *SymTab) { in printReloc()
3305 for (const Elf_Shdr &Sec : cantFail(Obj.sections())) { in getGroups() local
3476 static bool isRelocationSec(const typename ELFT::Shdr &Sec) { in isRelocationSec()
3484 auto GetEntriesNum = [&](const Elf_Shdr &Sec) -> Expected<size_t> { in printRelocations()
3508 for (const Elf_Shdr &Sec : cantFail(this->Obj.sections())) { in printRelocations() local
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/obj2yaml/
H A Dmacho2yaml.cpp75 MachODumper::constructSectionCommon(SectionType Sec, size_t SecIndex) { in constructSectionCommon()
117 Expected<MachOYAML::Section> MachODumper::constructSection(MachO::section Sec, in constructSection()
127 MachODumper::constructSection(MachO::section_64 Sec, size_t SecIndex) { in constructSection()
171 SectionType Sec; in extractSections() local
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/
H A DMachOEmitter.cpp102 SectionType constructSection(MachOYAML::Section Sec) { in constructSection()
129 for (const auto &Sec : LC.Sections) { in writeLoadCommandData() local
144 for (const auto &Sec : LC.Sections) { in writeLoadCommandData() local
278 for (auto &Sec : LC.Sections) { in writeSectionData() local
362 for (const MachOYAML::Section &Sec : LC.Sections) { in writeRelocations() local

12345