Home
last modified time | relevance | path

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

12

/openbsd/gnu/llvm/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
550 inline RelocationRef::RelocationRef(DataRefImpl RelocationP, in RelocationRef() function
555 inline bool RelocationRef::operator==(const RelocationRef &Other) const {
559 inline void RelocationRef::moveNext() { in moveNext()
563 inline uint64_t RelocationRef::getOffset() const { in getOffset()
567 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.h204 class ELFRelocationRef : public RelocationRef {
206 ELFRelocationRef(const RelocationRef &B) : RelocationRef(B) { in ELFRelocationRef()
207 assert(isa<ELFObjectFileBase>(RelocationRef::getObject())); in ELFRelocationRef()
211 return cast<ELFObjectFileBase>(RelocationRef::getObject()); in getObject()
222 : relocation_iterator(RelocationRef( in elf_relocation_iterator()
968 return relocation_iterator(RelocationRef()); in section_rel_begin()
972 return relocation_iterator(RelocationRef(RelData, this)); in section_rel_begin()
992 return relocation_iterator(RelocationRef(RelData, this)); in section_rel_end()
/openbsd/gnu/llvm/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFRelocMap.h23 object::RelocationRef Reloc;
25 std::optional<object::RelocationRef> Reloc2;
/openbsd/gnu/llvm/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 Dllvm-objdump.h28 class RelocationRef; variable
128 bool isRelocAddressLess(object::RelocationRef A, object::RelocationRef B);
H A DMachODump.h25 class RelocationRef; variable
65 const object::RelocationRef &RelRef,
H A DCOFFDump.cpp335 static Error resolveSymbol(const std::vector<RelocationRef> &Rels, in resolveSymbol()
353 const std::vector<RelocationRef> &Rels, uint64_t Offset, in getSectionContents()
367 static Error resolveSymbolName(const std::vector<RelocationRef> &Rels, in resolveSymbolName()
380 const std::vector<RelocationRef> &Rels, in printCOFFSymbolAddress()
585 std::vector<RelocationRef> &Rels, in getPDataSection()
613 const RelocationRef &Rel, in getCOFFRelocationValueString()
692 const std::vector<RelocationRef> &Rels) { in printRuntimeFunctionRels()
743 std::vector<RelocationRef> Rels; in printCOFFUnwindInfo()
H A Dllvm-objdump.cpp393 bool objdump::isRelocAddressLess(RelocationRef A, RelocationRef B) { in isRelocAddressLess()
397 static Error getRelocationValueString(const RelocationRef &Rel, in getRelocationValueString()
416 static bool getHidden(RelocationRef RelRef) { in getHidden()
580 std::vector<RelocationRef>::const_iterator RelEnd = Rels->end(); in printInst()
972 static std::map<SectionRef, std::vector<RelocationRef>>
974 std::map<SectionRef, std::vector<RelocationRef>> Ret; in getRelocsMap()
988 std::vector<RelocationRef> &V = Ret[*Relocated]; in getRelocsMap()
1317 std::map<SectionRef, std::vector<RelocationRef>> RelocMap; in disassembleObject()
1524 std::vector<RelocationRef> Rels = RelocMap[Section]; in disassembleObject()
2185 for (const RelocationRef &Reloc : Section.relocations()) { in printRelocations()
[all …]
H A DXCOFFDump.h33 const object::RelocationRef &RelRef,
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()
/openbsd/gnu/llvm/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.cpp69 void printRelocation(const RelocationRef &Reloc);
71 void printRelocation(const MachOObjectFile *Obj, const RelocationRef &Reloc);
503 for (const RelocationRef &Reloc : Section.relocations()) in printSectionHeaders()
530 for (const RelocationRef &Reloc : Section.relocations()) { in printRelocations()
547 void MachODumper::printRelocation(const RelocationRef &Reloc) { in printRelocation()
552 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;
648 llvm::sort(RelocMap[Section], [](RelocationRef L, RelocationRef R) { in cacheRelocations()
1443 for (const RelocationRef &Reloc : Sec.relocations()) in printSectionHeaders()
1474 for (const RelocationRef &Reloc : Section.relocations()) { in printRelocations()
1492 const RelocationRef &Reloc, uint64_t Bias) { in printRelocation()
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldELF.h195 bool relocationNeedsGot(const RelocationRef &R) const override;
196 bool relocationNeedsStub(const RelocationRef &R) const override;
208 const RelocationRef &GetAddrRelocation);
H A DRuntimeDyldImpl.h443 virtual bool relocationNeedsGot(const RelocationRef &R) const { in relocationNeedsGot()
448 virtual bool relocationNeedsStub(const RelocationRef &R) const { in relocationNeedsStub()
/openbsd/gnu/llvm/lld/ELF/
H A DDWARF.cpp129 return RelocAddrEntry{secIndex, RelocationRef(d, nullptr), in findAux()
130 val, std::optional<object::RelocationRef>(), in findAux()
/openbsd/gnu/llvm/llvm/lib/Object/
H A DXCOFFObjectFile.cpp517 return relocation_iterator(RelocationRef()); in section_rel_begin()
527 return relocation_iterator(RelocationRef()); in section_rel_begin()
531 return relocation_iterator(RelocationRef(Ret, this)); in section_rel_begin()
543 return relocation_iterator(RelocationRef()); in section_rel_end()
553 return relocation_iterator(RelocationRef()); in section_rel_end()
557 return relocation_iterator(RelocationRef(Ret, this)); in section_rel_end()
H A DRelocationResolver.cpp33 static int64_t getELFAddend(RelocationRef R) { in getELFAddend()
846 uint64_t resolveRelocation(RelocationResolver Resolver, const RelocationRef &R, in resolveRelocation()
/openbsd/gnu/llvm/llvm/tools/llvm-cxxdump/
H A Dllvm-cxxdump.cpp89 for (const object::RelocationRef &Reloc : SR.relocations()) { in collectRelocatedSymbols()
113 for (const object::RelocationRef &Reloc : SR.relocations()) { in collectRelocationOffsets()

12