Home
last modified time | relevance | path

Searched refs:RelocationRef (Results 1 – 25 of 41) sorted by relevance

12

/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DObjectFile.h51 class RelocationRef {
56 RelocationRef() = default;
59 bool operator==(const RelocationRef &Other) const;
76 using relocation_iterator = content_iterator<RelocationRef>;
286 friend class RelocationRef; variable
545 inline RelocationRef::RelocationRef(DataRefImpl RelocationP, in RelocationRef() function
550 inline bool RelocationRef::operator==(const RelocationRef &Other) const {
554 inline void RelocationRef::moveNext() { in moveNext()
558 inline uint64_t RelocationRef::getOffset() const { in getOffset()
562 inline symbol_iterator RelocationRef::getSymbol() const { in getSymbol()
[all …]
H A DRelocationResolver.h25 class RelocationRef; variable
35 uint64_t resolveRelocation(RelocationResolver Resolver, const RelocationRef &R,
H A DELFObjectFile.h203 class ELFRelocationRef : public RelocationRef {
205 ELFRelocationRef(const RelocationRef &B) : RelocationRef(B) { in ELFRelocationRef()
206 assert(isa<ELFObjectFileBase>(RelocationRef::getObject())); in ELFRelocationRef()
210 return cast<ELFObjectFileBase>(RelocationRef::getObject()); in getObject()
221 : relocation_iterator(RelocationRef( in elf_relocation_iterator()
965 return relocation_iterator(RelocationRef()); in section_rel_begin()
969 return relocation_iterator(RelocationRef(RelData, this)); in section_rel_begin()
989 return relocation_iterator(RelocationRef(RelData, this)); in section_rel_end()
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFRelocMap.h23 object::RelocationRef Reloc;
25 Optional<object::RelocationRef> Reloc2;
/llvm-project-15.0.7/llvm/tools/llvm-objdump/
H A DWasmDump.h21 class RelocationRef; variable
27 const object::RelocationRef &RelRef,
H A DCOFFDump.h21 class RelocationRef; variable
26 const object::RelocationRef &Rel,
H A DELFDump.h22 class RelocationRef; variable
28 const object::RelocationRef &Rel,
H A DMachODump.h24 class RelocationRef; variable
60 const object::RelocationRef &RelRef,
H A Dllvm-objdump.h24 class RelocationRef; variable
124 bool isRelocAddressLess(object::RelocationRef A, object::RelocationRef B);
H A DCOFFDump.cpp331 static Error resolveSymbol(const std::vector<RelocationRef> &Rels, in resolveSymbol()
349 const std::vector<RelocationRef> &Rels, uint64_t Offset, in getSectionContents()
363 static Error resolveSymbolName(const std::vector<RelocationRef> &Rels, in resolveSymbolName()
376 const std::vector<RelocationRef> &Rels, in printCOFFSymbolAddress()
581 std::vector<RelocationRef> &Rels, in getPDataSection()
609 const RelocationRef &Rel, in getCOFFRelocationValueString()
688 const std::vector<RelocationRef> &Rels) { in printRuntimeFunctionRels()
739 std::vector<RelocationRef> Rels; in printCOFFUnwindInfo()
H A DXCOFFDump.h33 const object::RelocationRef &RelRef,
H A Dllvm-objdump.cpp378 bool objdump::isRelocAddressLess(RelocationRef A, RelocationRef B) { in isRelocAddressLess()
382 static Error getRelocationValueString(const RelocationRef &Rel, in getRelocationValueString()
401 static bool getHidden(RelocationRef RelRef) { in getHidden()
557 std::vector<RelocationRef>::const_iterator RelEnd = Rels->end(); in printInst()
942 static std::map<SectionRef, std::vector<RelocationRef>>
944 std::map<SectionRef, std::vector<RelocationRef>> Ret; in getRelocsMap()
958 std::vector<RelocationRef> &V = Ret[*Relocated]; in getRelocsMap()
1267 std::map<SectionRef, std::vector<RelocationRef>> RelocMap; in disassembleObject()
1474 std::vector<RelocationRef> Rels = RelocMap[Section]; in disassembleObject()
1951 for (const RelocationRef &Reloc : Section.relocations()) { in printRelocations()
[all …]
H A DWasmDump.cpp32 const RelocationRef &RelRef, in getWasmRelocationValueString()
H A DXCOFFDump.cpp23 const RelocationRef &Rel, in getXCOFFRelocationValueString()
H A DELFDump.cpp57 const RelocationRef &RelRef, in getRelocationValueString()
131 const RelocationRef &Rel, in getELFRelocationValueString()
/llvm-project-15.0.7/llvm/tools/llvm-readobj/
H A DWasmDumper.cpp70 void printRelocation(const SectionRef &Section, const RelocationRef &Reloc);
84 const RelocationRef &Reloc) { in printRelocation()
130 for (const RelocationRef &Reloc : Section.relocations()) { in printRelocations()
210 for (const RelocationRef &Reloc : Section.relocations()) in printSectionHeaders()
H A Dllvm-readobj.h23 class RelocationRef; variable
H A DMachODumper.cpp70 void printRelocation(const RelocationRef &Reloc);
72 void printRelocation(const MachOObjectFile *Obj, const RelocationRef &Reloc);
505 for (const RelocationRef &Reloc : Section.relocations()) in printSectionHeaders()
532 for (const RelocationRef &Reloc : Section.relocations()) { in printRelocations()
549 void MachODumper::printRelocation(const RelocationRef &Reloc) { in printRelocation()
554 const RelocationRef &Reloc) { in printRelocation()
H A DCOFFDumper.cpp116 void printRelocation(const SectionRef &Section, const RelocationRef &Reloc,
181 typedef DenseMap<const coff_section*, std::vector<RelocationRef> > RelocMapTy;
602 llvm::sort(RelocMap[Section], [](RelocationRef L, RelocationRef R) { in cacheRelocations()
1389 for (const RelocationRef &Reloc : Sec.relocations()) in printSectionHeaders()
1420 for (const RelocationRef &Reloc : Section.relocations()) { in printRelocations()
1438 const RelocationRef &Reloc, uint64_t Bias) { in printRelocation()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldELF.h161 bool relocationNeedsGot(const RelocationRef &R) const override;
162 bool relocationNeedsStub(const RelocationRef &R) const override;
174 const RelocationRef &GetAddrRelocation);
H A DRuntimeDyldImpl.h439 virtual bool relocationNeedsGot(const RelocationRef &R) const { in relocationNeedsGot()
444 virtual bool relocationNeedsStub(const RelocationRef &R) const { in relocationNeedsStub()
/llvm-project-15.0.7/lld/ELF/
H A DDWARF.cpp130 return RelocAddrEntry{secIndex, RelocationRef(d, nullptr), in findAux()
131 val, Optional<object::RelocationRef>(), in findAux()
/llvm-project-15.0.7/llvm/unittests/ObjectYAML/
H A DELFYAMLTest.cpp88 for (RelocationRef R : Sec.relocations()) { in TEST()
/llvm-project-15.0.7/llvm/lib/Object/
H A DXCOFFObjectFile.cpp469 return relocation_iterator(RelocationRef()); in section_rel_begin()
479 return relocation_iterator(RelocationRef()); in section_rel_begin()
483 return relocation_iterator(RelocationRef(Ret, this)); in section_rel_begin()
495 return relocation_iterator(RelocationRef()); in section_rel_end()
505 return relocation_iterator(RelocationRef()); in section_rel_end()
509 return relocation_iterator(RelocationRef(Ret, this)); in section_rel_end()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/
H A DCOFF_x86_64.cpp62 Error addSingleRelocation(const object::RelocationRef &Rel, in addSingleRelocation()

12