/external/llvm-project/llvm/tools/llvm-objcopy/ELF/ |
D | ELFObjcopy.cpp | 55 static bool isDebugSection(const SectionBase &Sec) { in isDebugSection() 60 static bool isDWOSection(const SectionBase &Sec) { in isDWOSection() 64 static bool onlyKeepDWOPred(const Object &Obj, const SectionBase &Sec) { in onlyKeepDWOPred() 102 static void setSectionFlagsAndType(SectionBase &Sec, SectionFlag Flags) { in setSectionFlagsAndType() 272 auto OnlyKeepDWOPred = [&DWOFile](const SectionBase &Sec) { in splitDWOToFile() 292 for (auto &Sec : Obj.sections()) { in dumpSectionToFile() local 314 static bool isCompressable(const SectionBase &Sec) { in isCompressable() 327 for (auto &Sec : Obj.sections()) in replaceDebugSections() local 344 for (auto &Sec : Obj.sections()) in replaceDebugSections() local 347 RemovePred = [ShouldReplace, RemovePred](const SectionBase &Sec) { in replaceDebugSections() [all …]
|
D | Object.cpp | 69 template <class ELFT> void ELFWriter<ELFT>::writeShdr(const SectionBase &Sec) { in writeShdr() 102 Error ELFSectionSizer<ELFT>::visit(SymbolTableSection &Sec) { in visit() 111 Error ELFSectionSizer<ELFT>::visit(RelocationSection &Sec) { in visit() 124 template <class ELFT> Error ELFSectionSizer<ELFT>::visit(GroupSection &Sec) { in visit() 143 Error BinarySectionWriter::visit(const SectionIndexSection &Sec) { in visit() 149 Error BinarySectionWriter::visit(const SymbolTableSection &Sec) { in visit() 155 Error BinarySectionWriter::visit(const RelocationSection &Sec) { in visit() 161 Error BinarySectionWriter::visit(const GnuDebugLinkSection &Sec) { in visit() 166 Error BinarySectionWriter::visit(const GroupSection &Sec) { in visit() 171 Error SectionWriter::visit(const Section &Sec) { in visit() [all …]
|
/external/llvm/include/llvm/Object/ |
D | ELFObjectFile.h | 274 const Elf_Shdr *toELFShdrIter(DataRefImpl Sec) const { in toELFShdrIter() 278 DataRefImpl toDRI(const Elf_Shdr *Sec) const { in toDRI() 317 const Elf_Shdr *getSection(DataRefImpl Sec) const { in getSection() 374 uint64_t ELFObjectFile<ELFT>::getSectionFlags(DataRefImpl Sec) const { in getSectionFlags() 379 uint32_t ELFObjectFile<ELFT>::getSectionType(DataRefImpl Sec) const { in getSectionType() 544 DataRefImpl Sec; in getSymbolSection() local 558 void ELFObjectFile<ELFT>::moveSectionNext(DataRefImpl &Sec) const { in moveSectionNext() 564 std::error_code ELFObjectFile<ELFT>::getSectionName(DataRefImpl Sec, in getSectionName() 574 uint64_t ELFObjectFile<ELFT>::getSectionAddress(DataRefImpl Sec) const { in getSectionAddress() 579 uint64_t ELFObjectFile<ELFT>::getSectionSize(DataRefImpl Sec) const { in getSectionSize() [all …]
|
D | ELF.h | 114 const Elf_Sym *symbol_begin(const Elf_Shdr *Sec) const { in symbol_begin() 121 const Elf_Sym *symbol_end(const Elf_Shdr *Sec) const { in symbol_end() 129 Elf_Sym_Range symbols(const Elf_Shdr *Sec) const { in symbols() 146 Elf_Rela_Range relas(const Elf_Shdr *Sec) const { in relas() 163 Elf_Rel_Range rels(const Elf_Shdr *Sec) const { in rels() 196 const Elf_Sym *getSymbol(const Elf_Shdr *Sec, uint32_t Index) const { in getSymbol() 245 ELFFile<ELFT>::getSectionContentsAsArray(const Elf_Shdr *Sec) const { in getSectionContentsAsArray() 260 ELFFile<ELFT>::getSectionContents(const Elf_Shdr *Sec) const { in getSectionContents() 399 ErrorOr<const Elf_Shdr *> Sec = getSection(Section); in getEntry() local 467 ELFFile<ELFT>::getStringTableForSymtab(const Elf_Shdr &Sec) const { in getStringTableForSymtab()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/ |
D | ELFObjectFile.h | 242 SectionRef toSectionRef(const Elf_Shdr *Sec) const { in toSectionRef() 339 const Elf_Shdr *toELFShdrIter(DataRefImpl Sec) const { in toELFShdrIter() 343 DataRefImpl toDRI(const Elf_Shdr *Sec) const { in toDRI() 409 const Elf_Shdr *getSection(DataRefImpl Sec) const { in getSection() 483 uint64_t ELFObjectFile<ELFT>::getSectionFlags(DataRefImpl Sec) const { in getSectionFlags() 488 uint32_t ELFObjectFile<ELFT>::getSectionType(DataRefImpl Sec) const { in getSectionType() 493 uint64_t ELFObjectFile<ELFT>::getSectionOffset(DataRefImpl Sec) const { in getSectionOffset() 674 DataRefImpl Sec; in getSymbolSection() local 691 void ELFObjectFile<ELFT>::moveSectionNext(DataRefImpl &Sec) const { in moveSectionNext() 697 Expected<StringRef> ELFObjectFile<ELFT>::getSectionName(DataRefImpl Sec) const { in getSectionName() [all …]
|
D | ELF.h | 55 const typename ELFT::Shdr *Sec) { in getSecIndexForError() 170 Expected<Elf_Sym_Range> symbols(const Elf_Shdr *Sec) const { in symbols() 176 Expected<Elf_Rela_Range> relas(const Elf_Shdr *Sec) const { in relas() 180 Expected<Elf_Rel_Range> rels(const Elf_Shdr *Sec) const { in rels() 184 Expected<Elf_Relr_Range> relrs(const Elf_Shdr *Sec) const { in relrs() 376 ELFFile<ELFT>::getSymbol(const Elf_Shdr *Sec, uint32_t Index) const { in getSymbol() 392 ELFFile<ELFT>::getSectionContentsAsArray(const Elf_Shdr *Sec) const { in getSectionContentsAsArray() 427 ELFFile<ELFT>::getSectionContents(const Elf_Shdr *Sec) const { in getSectionContents() 660 ELFFile<ELFT>::getStringTableForSymtab(const Elf_Shdr &Sec) const { in getStringTableForSymtab() 669 ELFFile<ELFT>::getStringTableForSymtab(const Elf_Shdr &Sec, in getStringTableForSymtab()
|
/external/llvm-project/llvm/include/llvm/Object/ |
D | ELFObjectFile.h | 245 SectionRef toSectionRef(const Elf_Shdr *Sec) const { in toSectionRef() 345 const Elf_Shdr *toELFShdrIter(DataRefImpl Sec) const { in toELFShdrIter() 349 DataRefImpl toDRI(const Elf_Shdr *Sec) const { in toDRI() 426 const Elf_Shdr *getSection(DataRefImpl Sec) const { in getSection() 529 uint64_t ELFObjectFile<ELFT>::getSectionFlags(DataRefImpl Sec) const { in getSectionFlags() 534 uint32_t ELFObjectFile<ELFT>::getSectionType(DataRefImpl Sec) const { in getSectionType() 539 uint64_t ELFObjectFile<ELFT>::getSectionOffset(DataRefImpl Sec) const { in getSectionOffset() 755 DataRefImpl Sec; in getSymbolSection() local 772 void ELFObjectFile<ELFT>::moveSectionNext(DataRefImpl &Sec) const { in moveSectionNext() 778 Expected<StringRef> ELFObjectFile<ELFT>::getSectionName(DataRefImpl Sec) const { in getSectionName() [all …]
|
D | ELF.h | 62 const typename ELFT::Shdr &Sec) { in getSecIndexForError() 188 Expected<Elf_Sym_Range> symbols(const Elf_Shdr *Sec) const { in symbols() 194 Expected<Elf_Rela_Range> relas(const Elf_Shdr &Sec) const { in relas() 198 Expected<Elf_Rel_Range> rels(const Elf_Shdr &Sec) const { in rels() 202 Expected<Elf_Relr_Range> relrs(const Elf_Shdr &Sec) const { in relrs() 394 ELFFile<ELFT>::getSymbol(const Elf_Shdr *Sec, uint32_t Index) const { in getSymbol() 410 ELFFile<ELFT>::getSectionContentsAsArray(const Elf_Shdr &Sec) const { in getSectionContentsAsArray() 465 ELFFile<ELFT>::getSectionContents(const Elf_Shdr &Sec) const { in getSectionContents() 707 ELFFile<ELFT>::getStringTableForSymtab(const Elf_Shdr &Sec) const { in getStringTableForSymtab() 716 ELFFile<ELFT>::getStringTableForSymtab(const Elf_Shdr &Sec, in getStringTableForSymtab()
|
/external/llvm-project/llvm/tools/llvm-objcopy/COFF/ |
D | COFFObjcopy.cpp | 30 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()
|
D | Object.cpp | 62 for (const Section &Sec : Sections) { in markSymbols() local 100 auto RemoveAssociated = [&AssociatedSections](const Section &Sec) { in removeSections() 107 [ToRemove, &RemovedSections](const Section &Sec) { in removeSections()
|
/external/llvm-project/llvm/include/llvm/MC/ |
D | MCFragment.h | 116 explicit MCDummyFragment(MCSection *Sec) : MCFragment(FT_Dummy, false, Sec) {} in MCDummyFragment() 132 MCSection *Sec) in MCEncodedFragment() 191 MCSection *Sec) in MCEncodedFragmentWithContents() 212 MCSection *Sec) in MCEncodedFragmentWithFixups() 258 : MCEncodedFragmentWithContents(FT_CompactEncodedInst, true, Sec) { in MCEncodedFragmentWithContents() argument 279 : MCEncodedFragmentWithFixups(FT_Relaxable, true, Sec), in MCEncodedFragmentWithFixups() argument 315 : MCFragment(FT_Align, false, Sec), Alignment(Alignment), EmitNops(false), in MCFragment() argument 347 : MCFragment(FT_Fill, false, Sec), ValueSize(VSize), Value(Value), in MCFragment() argument 373 : MCFragment(FT_Nops, false, Sec), Size(NumBytes), in MCFragment() argument 399 : MCFragment(FT_Org, false, Sec), Value(Value), Offset(&Offset), in MCFragment() argument [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/ |
D | MCFragment.h | 105 explicit MCDummyFragment(MCSection *Sec) : MCFragment(FT_Dummy, false, Sec) {} in MCDummyFragment() 121 MCSection *Sec) in MCEncodedFragment() 180 MCSection *Sec) in MCEncodedFragmentWithContents() 201 MCSection *Sec) in MCEncodedFragmentWithFixups() 247 : MCEncodedFragmentWithContents(FT_CompactEncodedInst, true, Sec) { in MCEncodedFragmentWithContents() argument 266 : MCEncodedFragmentWithFixups(FT_Relaxable, true, Sec), in MCEncodedFragmentWithFixups() argument 299 : MCFragment(FT_Align, false, Sec), Alignment(Alignment), EmitNops(false), in MCFragment() argument 331 : MCFragment(FT_Fill, false, Sec), ValueSize(VSize), Value(Value), in MCFragment() argument 358 : MCFragment(FT_Org, false, Sec), Value(Value), Offset(&Offset), in MCFragment() argument 383 : MCFragment(FT_LEB, false, Sec), IsSigned(IsSigned_), Value(&Value_) { in MCFragment() argument [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsOptionRecord.cpp | 36 MCSectionELF *Sec = in EmitMipsOptionRecord() local 55 MCSectionELF *Sec = Context.getELFSection(".reginfo", ELF::SHT_MIPS_REGINFO, in EmitMipsOptionRecord() local
|
/external/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsOptionRecord.cpp | 36 MCSectionELF *Sec = in EmitMipsOptionRecord() local 55 MCSectionELF *Sec = Context.getELFSection(".reginfo", ELF::SHT_MIPS_REGINFO, in EmitMipsOptionRecord() local
|
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsOptionRecord.cpp | 31 MCSectionELF *Sec = in EmitMipsOptionRecord() local 50 MCSectionELF *Sec = Context.getELFSection(".reginfo", ELF::SHT_MIPS_REGINFO, in EmitMipsOptionRecord() local
|
/external/llvm-project/llvm/tools/llvm-objcopy/wasm/ |
D | WasmObjcopy.cpp | 25 for (const Section &Sec : Obj.Sections) { in dumpSectionToFile() local 52 Obj.removeSections([&Config](const Section &Sec) { in handleArgs() 65 Section Sec; in handleArgs() local
|
/external/llvm-project/llvm/tools/llvm-objcopy/MachO/ |
D | MachOReader.cpp | 31 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
|
D | MachOObjcopy.cpp | 55 RemovePred = [&Config, RemovePred](const std::unique_ptr<Section> &Sec) { in removeSections() 62 RemovePred = [RemovePred](const std::unique_ptr<Section> &Sec) { in removeSections() 72 RemovePred = [&Config](const std::unique_ptr<Section> &Sec) { in removeSections() 253 for (const std::unique_ptr<Section> &Sec : LC.Sections) { in dumpSectionToFile() local 281 Section Sec(TargetSegName, Pair.second); in addSection() local
|
D | MachOWriter.cpp | 177 for (const std::unique_ptr<Section> &Sec : LC.Sections) in writeLoadCommands() local 187 for (const std::unique_ptr<Section> &Sec : LC.Sections) in writeLoadCommands() local 224 void MachOWriter::writeSectionInLoadCommand(const Section &Sec, uint8_t *&Out) { in writeSectionInLoadCommand() 250 for (const std::unique_ptr<Section> &Sec : LC.Sections) { in writeSections() local
|
/external/llvm-project/llvm/tools/llvm-dwp/ |
D | DWPStringPool.h | 34 MCSection *Sec; variable 39 DWPStringPool(MCStreamer &Out, MCSection *Sec) : Out(Out), Sec(Sec) {} in DWPStringPool()
|
/external/llvm/tools/llvm-dwp/ |
D | DWPStringPool.h | 34 MCSection *Sec; variable 39 DWPStringPool(MCStreamer &Out, MCSection *Sec) : Out(Out), Sec(Sec) {} in DWPStringPool()
|
/external/llvm/lib/Object/ |
D | COFFObjectFile.cpp | 242 const coff_section *Sec = nullptr; in getSymbolSection() local 256 const coff_section *Sec = toSec(Ref); in moveSectionNext() local 263 const coff_section *Sec = toSec(Ref); in getSectionName() local 268 const coff_section *Sec = toSec(Ref); in getSectionAddress() local 283 const coff_section *Sec = toSec(Ref); in getSectionContents() local 291 const coff_section *Sec = toSec(Ref); in getSectionAlignment() local 300 const coff_section *Sec = toSec(Ref); in isSectionText() local 305 const coff_section *Sec = toSec(Ref); in isSectionData() local 310 const coff_section *Sec = toSec(Ref); in isSectionBSS() local 325 const coff_section *Sec = toSec(Ref); in isSectionVirtual() local [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
D | SymbolSize.cpp | 27 static unsigned getSectionID(const ObjectFile &O, SectionRef Sec) { in getSectionID() 62 for (SectionRef Sec : O.sections()) { in computeSymbolSizes() local
|
/external/llvm-project/llvm/lib/Object/ |
D | SymbolSize.cpp | 28 static unsigned getSectionID(const ObjectFile &O, SectionRef Sec) { in getSectionID() 71 for (SectionRef Sec : O.sections()) { in computeSymbolSizes() local
|
/external/llvm/tools/llvm-readobj/ |
D | ELFDumper.cpp | 497 const typename ELFO::Elf_Shdr *Sec, in printVersionSymbolSection() 531 const typename ELFO::Elf_Shdr *Sec, in printVersionDefinitionSection() 587 const typename ELFO::Elf_Shdr *Sec, in printVersionDependencySection() 731 const typename ELFO::Elf_Shdr *Sec = in getSectionNameIndex() local 1321 for (const Elf_Shdr &Sec : unwrapOrError(Obj->sections())) { in ELFDumper() local 1854 for (const ELFO::Elf_Shdr &Sec : unwrapOrError(Obj->sections())) { in printAttributes() local 2252 ArrayRef<uint8_t> Sec = unwrapOrError(Obj->getSectionContents(Shdr)); in printMipsABIFlags() local 2297 ArrayRef<uint8_t> Sec = unwrapOrError(Obj->getSectionContents(Shdr)); in printMipsReginfo() local 2317 ArrayRef<uint8_t> Sec = unwrapOrError(Obj->getSectionContents(Shdr)); in printMipsOptions() local 2339 for (const auto &Sec : unwrapOrError(Obj->sections())) { in printStackMap() local [all …]
|