Home
last modified time | relevance | path

Searched refs:SecRef (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/llvm/lib/ExecutionEngine/JITLink/
DELF_x86_64.cpp261 for (auto SecRef : sections) { in createNormalizedSymbols() local
262 if (SecRef.sh_type != ELF::SHT_SYMTAB && in createNormalizedSymbols()
263 SecRef.sh_type != ELF::SHT_DYNSYM) in createNormalizedSymbols()
266 auto Symbols = Obj.symbols(&SecRef); in createNormalizedSymbols()
273 auto StrTabSec = Obj.getSection(SecRef.sh_link); in createNormalizedSymbols()
308 for (auto &SecRef : sections) { in createNormalizedSections() local
309 auto Name = Obj.getSectionName(SecRef); in createNormalizedSections()
313 if (SecRef.sh_flags & ELF::SHF_EXECINSTR) { in createNormalizedSections()
320 uint64_t Address = SecRef.sh_addr; in createNormalizedSections()
321 uint64_t Size = SecRef.sh_size; in createNormalizedSections()
[all …]
DMachOLinkGraphBuilder.cpp110 for (auto &SecRef : Obj.sections()) { in createNormalizedSections() local
114 auto SecIndex = Obj.getSectionIndex(SecRef.getRawDataRefImpl()); in createNormalizedSections()
116 auto Name = SecRef.getName(); in createNormalizedSections()
122 Obj.getSection64(SecRef.getRawDataRefImpl()); in createNormalizedSections()
135 const MachO::section &Sec32 = Obj.getSection(SecRef.getRawDataRefImpl()); in createNormalizedSections()
/external/llvm-project/llvm/tools/llvm-objcopy/MachO/
DMachOReader.cpp85 Expected<object::SectionRef> SecRef = in extractSections() local
87 if (!SecRef) in extractSections()
88 return SecRef.takeError(); in extractSections()
91 MachOObj.getSectionContents(SecRef->getRawDataRefImpl()); in extractSections()
99 for (auto RI = MachOObj.section_rel_begin(SecRef->getRawDataRefImpl()), in extractSections()
100 RE = MachOObj.section_rel_end(SecRef->getRawDataRefImpl()); in extractSections()
/external/llvm-project/llvm/tools/llvm-readobj/
DObjDumper.cpp70 for (object::SectionRef SecRef : Obj.sections()) { in getSectionRefsByNameOrIndex() local
71 StringRef SecName = unwrapOrError(Obj.getFileName(), SecRef.getName()); in getSectionRefsByNameOrIndex()
79 Ret.push_back(SecRef); in getSectionRefsByNameOrIndex()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/JITLink/
DMachOLinkGraphBuilder.cpp105 for (auto &SecRef : Obj.sections()) { in createNormalizedSections() local
109 auto SecIndex = Obj.getSectionIndex(SecRef.getRawDataRefImpl()); in createNormalizedSections()
111 auto Name = SecRef.getName(); in createNormalizedSections()
117 Obj.getSection64(SecRef.getRawDataRefImpl()); in createNormalizedSections()
125 const MachO::section &Sec32 = Obj.getSection(SecRef.getRawDataRefImpl()); in createNormalizedSections()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DXCOFFObjectFile.cpp454 Expected<DataRefImpl> SecRef = getSectionByNum(SectionNum); in getSymbolSectionName()
455 if (SecRef) in getSymbolSectionName()
457 getSectionNameInternal(SecRef.get())); in getSymbolSectionName()
458 return SecRef.takeError(); in getSymbolSectionName()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFFormValue.cpp380 const auto &SecRef = SectionNames[SectionIndex]; in dumpAddressSection() local
382 OS << " \"" << SecRef.Name << '\"'; in dumpAddressSection()
385 if (!SecRef.IsNameUnique) in dumpAddressSection()
/external/llvm-project/llvm/lib/DebugInfo/DWARF/
DDWARFFormValue.cpp381 const auto &SecRef = SectionNames[SectionIndex]; in dumpAddressSection() local
383 OS << " \"" << SecRef.Name << '\"'; in dumpAddressSection()
386 if (!SecRef.IsNameUnique) in dumpAddressSection()
/external/llvm-project/llvm/lib/Object/
DXCOFFObjectFile.cpp501 Expected<DataRefImpl> SecRef = getSectionByNum(SectionNum); in getSymbolSectionName()
502 if (SecRef) in getSymbolSectionName()
504 getSectionNameInternal(SecRef.get())); in getSymbolSectionName()
505 return SecRef.takeError(); in getSymbolSectionName()
/external/llvm-project/llvm/tools/obj2yaml/
Dmacho2yaml.cpp93 if (Expected<object::SectionRef> SecRef = Obj.getSection(SecIndex)) { in constructSectionCommon() local
95 for (const object::RelocationRef &Reloc : SecRef->relocations()) { in constructSectionCommon()
111 return SecRef.takeError(); in constructSectionCommon()