Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/JITLink/
H A DELF_x86_64.cpp312 for (auto SecRef : sections) { in createNormalizedSymbols() local
313 if (SecRef.sh_type != ELF::SHT_SYMTAB && in createNormalizedSymbols()
314 SecRef.sh_type != ELF::SHT_DYNSYM) in createNormalizedSymbols()
317 auto Symbols = Obj.symbols(&SecRef); in createNormalizedSymbols()
324 auto StrTabSec = Obj.getSection(SecRef.sh_link); in createNormalizedSymbols()
355 for (auto &SecRef : sections) { in createNormalizedSections() local
356 auto Name = Obj.getSectionName(SecRef); in createNormalizedSections()
370 if (SecRef.sh_flags & ELF::SHF_EXECINSTR) { in createNormalizedSections()
377 uint64_t Address = SecRef.sh_addr; in createNormalizedSections()
378 uint64_t Size = SecRef.sh_size; in createNormalizedSections()
[all …]
H A DMachOLinkGraphBuilder.cpp113 for (auto &SecRef : Obj.sections()) { in createNormalizedSections() local
117 auto SecIndex = Obj.getSectionIndex(SecRef.getRawDataRefImpl()); in createNormalizedSections()
121 Obj.getSection64(SecRef.getRawDataRefImpl()); in createNormalizedSections()
134 const MachO::section &Sec32 = Obj.getSection(SecRef.getRawDataRefImpl()); in createNormalizedSections()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/MachO/
H A 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()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-readobj/
H A 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/
H A DDWARFFormValue.cpp396 const auto &SecRef = SectionNames[SectionIndex]; in dumpAddressSection() local
398 OS << " \"" << SecRef.Name << '\"'; in dumpAddressSection()
401 if (!SecRef.IsNameUnique) in dumpAddressSection()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/
H A DXCOFFObjectFile.cpp516 Expected<DataRefImpl> SecRef = getSectionByNum(SectionNum); in getSymbolSectionName()
517 if (SecRef) in getSymbolSectionName()
519 getSectionNameInternal(SecRef.get())); in getSymbolSectionName()
520 return SecRef.takeError(); in getSymbolSectionName()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/obj2yaml/
H A 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()