Home
last modified time | relevance | path

Searched refs:SectionRef (Results 1 – 25 of 65) sorted by relevance

123

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Object/
H A DObjectFile.h42 class SectionRef; variable
47 using section_iterator = content_iterator<SectionRef>;
80 class SectionRef {
87 SectionRef() = default;
88 SectionRef(DataRefImpl SectionP, const ObjectFile *Owner);
90 bool operator==(const SectionRef &Other) const;
91 bool operator!=(const SectionRef &Other) const;
92 bool operator<(const SectionRef &Other) const;
165 friend class SectionRef; variable
257 friend class SectionRef; variable
[all …]
H A DELFObjectFile.h101 class ELFSectionRef : public SectionRef {
103 ELFSectionRef(const SectionRef &B) : SectionRef(B) { in ELFSectionRef()
104 assert(isa<ELFObjectFileBase>(SectionRef::getObject())); in ELFSectionRef()
108 return cast<ELFObjectFileBase>(SectionRef::getObject()); in getObject()
236 SectionRef toSectionRef(const Elf_Shdr *Sec) const { in LLVM_ELF_IMPORT_TYPES_ELFT()
237 return SectionRef(toDRI(Sec), this); in LLVM_ELF_IMPORT_TYPES_ELFT()
295 std::vector<SectionRef> dynamic_relocation_sections() const override;
790 return section_iterator(SectionRef(Sec, this)); in getSymbolSection()
883 std::vector<SectionRef>
885 std::vector<SectionRef> Res; in dynamic_relocation_sections()
[all …]
H A DMachO.h284 unsigned getSectionType(SectionRef Sec) const;
293 unsigned getSectionID(SectionRef Sec) const;
304 Expected<SectionRef> getSection(unsigned SectionIndex) const;
305 Expected<SectionRef> getSection(StringRef SectionName) const;
485 SectionRef getAnyRelocationSection(const MachO::any_relocation_info &RE) const;
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-readobj/
H A DARMWinEHPrinter.h138 ErrorOr<object::SectionRef>
147 const object::SectionRef &Section, uint64_t Offset);
151 const object::SectionRef &Section,
160 const object::SectionRef &Section,
163 const object::SectionRef Section, uint64_t Offset,
166 const object::SectionRef Section, uint64_t Offset,
169 const object::SectionRef Section, uint64_t Offset,
172 const object::SectionRef Section, unsigned Entry,
175 const object::SectionRef Section);
H A DObjDumper.cpp55 static std::vector<object::SectionRef>
58 std::vector<object::SectionRef> Ret; in getSectionRefsByNameOrIndex()
70 for (object::SectionRef SecRef : Obj.sections()) { in getSectionRefsByNameOrIndex()
101 for (object::SectionRef Section : in printSectionsAsString()
135 for (object::SectionRef Section : in printSectionsAsHex()
H A DCOFFDumper.cpp115 void printRelocation(const SectionRef &Section, const RelocationRef &Reloc,
131 void printCodeViewSymbolSection(StringRef SectionName, const SectionRef &Section);
132 void printCodeViewTypeSection(StringRef SectionName, const SectionRef &Section);
141 const SectionRef &Section,
160 void printBinaryBlockWithRelocs(StringRef Label, const SectionRef &Sec,
201 COFFObjectDumpDelegate(COFFDumper &CD, const SectionRef &SR, in COFFObjectDumpDelegate()
239 const SectionRef &SR;
317 const SectionRef &Sec, in printBinaryBlockWithRelocs()
595 for (const SectionRef &S : Obj->sections()) { in cacheRelocations()
934 for (const SectionRef &S : Obj->sections()) { in printCodeViewDebugInfo()
[all …]
H A DWasmDumper.cpp70 void printRelocation(const SectionRef &Section, const RelocationRef &Reloc);
83 void WasmDumper::printRelocation(const SectionRef &Section, in printRelocation()
124 for (const SectionRef &Section : Obj->sections()) { in printRelocations()
156 for (const SectionRef &Section : Obj->sections()) { in printSectionHeaders()
H A DARMWinEHPrinter.cpp200 ErrorOr<object::SectionRef>
231 const SectionRef &Section, in getRelocatedSymbol()
264 const COFFObjectFile &COFF, const SectionRef &Section, in getSymbolForLocation()
905 const SectionRef &Section, in dumpXDataRecord()
1016 const SectionRef Section, uint64_t Offset, in dumpUnpackedEntry()
1077 ErrorOr<SectionRef> Section = getSectionContaining(COFF, XDataAddress); in dumpUnpackedEntry()
1086 const SectionRef Section, uint64_t Offset, in dumpPackedEntry()
1127 const SectionRef Section, uint64_t Offset, in dumpPackedARM64Entry()
1256 const SectionRef Section, unsigned Index, in dumpProcedureDataEntry()
1274 const SectionRef Section) { in dumpProcedureData()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objdump/
H A Dllvm-objdump.cpp243 static FilterResult checkSectionFilter(object::SectionRef S) { in checkSectionFilter()
272 [Idx](object::SectionRef S) { in ToolSectionFilter()
696 std::map<SectionRef, SectionSymbolsTy> &AllSymbols) { in addDynamicElfSymbols() argument
725 std::map<SectionRef, SectionSymbolsTy> &AllSymbols) { in addDynamicElfSymbols() argument
740 std::map<SectionRef, SectionSymbolsTy> &AllSymbols, in addPltEntries() argument
742 Optional<SectionRef> Plt = None; in addPltEntries()
743 for (const SectionRef &Section : Obj->sections()) { in addPltEntries()
797 static std::map<SectionRef, std::vector<RelocationRef>>
799 std::map<SectionRef, std::vector<RelocationRef>> Ret; in getRelocsMap()
801 for (SectionRef Sec : Obj.sections()) { in getRelocsMap()
[all …]
H A DMachODump.cpp293 std::vector<SectionRef> &Sections, in getSectionsAndSymbols()
377 for (const SectionRef &Section : ToolSectionFilter(*O)) { in printRelocationTargetName()
1422 const SectionRef &Section, in DumpLiteralPointerSection()
1427 std::vector<SectionRef> LiteralSections; in DumpLiteralPointerSection()
1428 for (const SectionRef &Section : O->sections()) { in DumpLiteralPointerSection()
1498 auto Sect = find_if(LiteralSections, [&](const SectionRef &R) { in DumpLiteralPointerSection()
1590 const SectionRef &Section, in DumpInitTermPointerSection()
1725 for (const SectionRef &Section : O->sections()) { in DumpSectionContents()
1830 for (const SectionRef &Section : O->sections()) { in DumpInfoPlistSectionContents()
1930 for (const SectionRef &Section : MachOOF->sections()) { in ProcessMachO()
[all …]
H A Dllvm-objdump.h67 typedef std::function<bool(llvm::object::SectionRef const &)> FilterPredicate;
79 const llvm::object::SectionRef &operator*() const { return *Iterator; }
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-cxxdump/
H A Dllvm-cxxdump.cpp79 static std::map<SectionRef, SmallVector<SectionRef, 1>> SectionRelocMap;
82 const SectionRef &Sec, uint64_t SecAddress, in collectRelocatedSymbols()
87 for (const SectionRef &SR : SectionRelocMap[Sec]) { in collectRelocatedSymbols()
106 const ObjectFile *Obj, const SectionRef &Sec, uint64_t SecAddress, in collectRelocationOffsets()
111 for (const SectionRef &SR : SectionRelocMap[Sec]) { in collectRelocationOffsets()
176 for (const SectionRef &Section : Obj->sections()) { in dumpCXXData()
203 const SectionRef &Sec = *SecI; in dumpCXXData()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldMachOI386.h129 const SectionRef &Section) { in finalizeSection()
172 SectionRef SectionA = *SAI; in processSECTDIFFRelocation()
186 SectionRef SectionB = *SBI; in processSECTDIFFRelocation()
213 const SectionRef &JTSection, in populateJumpTable()
H A DRuntimeDyldMachOX86_64.h124 const SectionRef &Section) { in finalizeSection()
189 SectionRef SecB = Obj.getAnyRelocationSection(RelInfo); in processSubtractRelocation()
215 SectionRef SecA = Obj.getAnyRelocationSection(RelInfo); in processSubtractRelocation()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-profgen/
H A DProfiledBinary.cpp178 const SectionRef &Section = *SI; in setPreferredBaseAddress()
191 const SectionRef &Section = *SI; in decodePseudoProbe()
213 const SectionRef &Section) { in dissassembleSymbol()
357 std::map<SectionRef, SectionSymbolsTy> AllSymbols; in disassemble()
368 for (std::pair<const SectionRef, SectionSymbolsTy> &SecSyms : AllSymbols) in disassemble()
377 const SectionRef &Section = *SI; in disassemble()
/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()
H A DObjectFile.cpp47 bool SectionRef::containsSymbol(SymbolRef S) const { in containsSymbol()
103 return section_iterator(SectionRef(Sec, this)); in getRelocatedSection()
H A DCOFFObjectFile.cpp256 return section_iterator(SectionRef(Ret, this)); in getSymbolSection()
335 unsigned COFFObjectFile::getSectionID(SectionRef Sec) const { in getSectionID()
466 for (const SectionRef &S : sections()) { in getRvaPtr()
482 for (const SectionRef &S : sections()) { in getRvaAndSizeAsBytes()
918 return section_iterator(SectionRef(Ret, this)); in section_begin()
926 return section_iterator(SectionRef(Ret, this)); in section_end()
1176 COFFObjectFile::getCOFFSection(const SectionRef &Section) const { in getCOFFSection()
1770 for (const SectionRef &S : O->sections()) { in load()
1782 Error ResourceSectionRef::load(const COFFObjectFile *O, const SectionRef &S) { in load()
1871 for (const SectionRef &S : Obj->sections()) { in getContents()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/
H A DInputFile.cpp66 static inline bool isCodeViewDebugSubsection(object::SectionRef Section, in isCodeViewDebugSubsection()
93 static inline bool isDebugSSection(object::SectionRef Section, in isDebugSSection()
103 static bool isDebugTSection(SectionRef Section, CVTypeArray &Types) { in isDebugTSection()
489 SectionRef SR = *Iter; in scanToNextDebugS()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldImpl.h261 typedef std::map<SectionRef, unsigned> ObjSectionToIDMap;
372 const SectionRef &Section,
381 const SectionRef &Section, bool IsCode,
430 const SectionRef &Section);
H A DRuntimeDyld.cpp170 static Error getOffset(const SymbolRef &Sym, SectionRef Sec, in getOffset()
468 static bool isRequiredForExecution(const SectionRef Section) { in isRequiredForExecution()
491 static bool isReadOnlyData(const SectionRef Section) { in isReadOnlyData()
509 static bool isZeroInit(const SectionRef Section) { in isZeroInit()
541 const SectionRef &Section = *SI; in computeTotalAllocSize()
657 const SectionRef &Section) { in computeSectionStubBufSize()
791 const SectionRef &Section, in emitSection()
909 const SectionRef &Section, in findOrEmitSection()
1255 const object::SectionRef &Sec) const { in getSectionLoadAddress()
H A DRuntimeDyldMachO.cpp77 SectionRef TargetSection = *TargetSI; in processScatteredVANILLA()
126 SectionRef Sec = Obj.getAnyRelocationSection(RelInfo); in getRelocationValueRef()
182 const SectionRef &PTSection, in populateIndirectSymbolPointersSection()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/
H A DRuntimeDyld.h73 using ObjSectionToIDMap = std::map<object::SectionRef, unsigned>;
82 getSectionLoadAddress(const object::SectionRef &Sec) const override;
/netbsd-src/external/apache2/llvm/dist/llvm/tools/dsymutil/
H A DDwarfLinkerForBinary.h154 bool findValidRelocs(const object::SectionRef &Section,
159 void findValidRelocsMachO(const object::SectionRef &Section,
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/wasm/
H A DReader.cpp23 for (const SectionRef &Sec : WasmObj.sections()) { in create()

123