Home
last modified time | relevance | path

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

12

/llvm-project/llvm/include/llvm/Object/
H A DObjectFile.h52 class RelocationRef {
57 RelocationRef() = default;
58 RelocationRef(DataRefImpl RelocationP, const ObjectFile *Owner);
60 bool operator==(const RelocationRef &Other) const;
77 using relocation_iterator = content_iterator<RelocationRef>;
286 // Same as above for RelocationRef.
287 friend class RelocationRef; variable
606 /// RelocationRef
607 inline RelocationRef::RelocationRef(DataRefImp function
[all...]
H A DRelocationResolver.h25 class RelocationRef; variable
35 uint64_t resolveRelocation(RelocationResolver Resolver, const RelocationRef &R,
H A DGOFFObjectFile.h106 return relocation_iterator(RelocationRef(Sec, this)); in section_rel_begin()
109 return relocation_iterator(RelocationRef(Sec, this)); in section_rel_end()
H A DELFObjectFile.h228 class ELFRelocationRef : public RelocationRef {
230 ELFRelocationRef(const RelocationRef &B) : RelocationRef(B) { in ELFRelocationRef()
231 assert(isa<ELFObjectFileBase>(RelocationRef::getObject())); in ELFRelocationRef()
235 return cast<ELFObjectFileBase>(RelocationRef::getObject()); in getObject()
246 : relocation_iterator(RelocationRef( in elf_relocation_iterator()
1030 return relocation_iterator(RelocationRef()); in section_rel_begin()
1052 return relocation_iterator(RelocationRef(RelData, this)); in section_rel_begin()
1063 return relocation_iterator(RelocationRef(RelData, this)); in section_rel_end()
1076 return relocation_iterator(RelocationRef(RelDat in section_rel_end()
[all...]
/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFRelocMap.h23 object::RelocationRef Reloc;
25 std::optional<object::RelocationRef> Reloc2;
/llvm-project/llvm/tools/llvm-objdump/
H A DWasmDump.h21 class RelocationRef; variable
27 const object::RelocationRef &RelRef,
H A DELFDump.h22 class RelocationRef; variable
28 const object::RelocationRef &Rel,
H A DCOFFDump.h21 class RelocationRef; variable
26 const object::RelocationRef &Rel,
H A Dllvm-objdump.h31 class RelocationRef;
118 bool isRelocAddressLess(object::RelocationRef A, object::RelocationRef B);
33 class RelocationRef; global() variable
H A DMachODump.h25 class RelocationRef; variable
65 const object::RelocationRef &RelRef,
H A DCOFFDump.cpp360 static Error resolveSymbol(const std::vector<RelocationRef> &Rels, in getSectionContents()
378 const std::vector<RelocationRef> &Rels, uint64_t Offset, in resolveSymbolName()
392 static Error resolveSymbolName(const std::vector<RelocationRef> &Rels, in printCOFFSymbolAddress()
405 const std::vector<RelocationRef> &Rels, in printSEHTable()
613 std::vector<RelocationRef> &Rels, in getPDataSection()
641 const RelocationRef &Rel, in printWin64EHUnwindInfo()
720 const std::vector<RelocationRef> &Rels) { in printRuntimeFunctionRels()
771 std::vector<RelocationRef> Rels; in printCOFFUnwindInfo()
H A Dllvm-objdump.cpp538 bool objdump::isRelocAddressLess(RelocationRef A, RelocationRef B) { in isRelocAddressLess()
542 static Error getRelocationValueString(const RelocationRef &Rel, in getRelocationValueString()
563 static bool getHidden(RelocationRef RelRef) { in getHidden()
642 const RelocationRef &Rel, uint64_t Address, in printRelocation()
679 StringRef ObjectFilename, std::vector<RelocationRef> *Rels, in printInst()
718 StringRef ObjectFilename, std::vector<RelocationRef> *Rels, in printInst()
742 std::vector<RelocationRef>::const_iterator RelCur = Rels->begin(); in printInst()
743 std::vector<RelocationRef>::const_iterator RelEnd = Rels->end(); in printInst()
788 StringRef ObjectFilename, std::vector<RelocationRef> *Rel in printInst()
[all...]
H A DXCOFFDump.h35 const object::RelocationRef &RelRef,
H A DWasmDump.cpp45 const RelocationRef &RelRef, in getWasmRelocationValueString()
H A DELFDump.cpp90 const RelocationRef &RelRef, in getRelocationValueString()
165 const RelocationRef &Rel, in getELFRelocationValueString()
349 for (const RelocationRef &Reloc : Section.relocations()) { in printDynamicRelocations()
/llvm-project/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.h22 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()
/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldELF.h214 bool relocationNeedsGot(const RelocationRef &R) const override;
215 bool relocationNeedsStub(const RelocationRef &R) const override;
227 const RelocationRef &GetAddrRelocation);
H A DRuntimeDyldImpl.h450 virtual bool relocationNeedsGot(const RelocationRef &R) const { in relocationNeedsGot()
455 virtual bool relocationNeedsStub(const RelocationRef &R) const { in relocationNeedsStub()
460 virtual bool relocationNeedsDLLImportStub(const RelocationRef &R) const { in RuntimeDyldImpl()
/llvm-project/lld/ELF/
H A DDWARF.cpp82 // because we don't set an owning object for the `RelocationRef` instance that
131 return RelocAddrEntry{secIndex, RelocationRef(d, nullptr), in findAux()
132 val, std::optional<object::RelocationRef>(), in findAux()
/llvm-project/bolt/include/bolt/Rewrite/
H A DRewriteInstance.h131 void printRelocationInfo(const RelocationRef &Rel, StringRef SymbolName,
140 const RelocationRef &Rel);
251 bool analyzeRelocation(const object::RelocationRef &Rel, uint64_t &RType,
/llvm-project/llvm/unittests/ObjectYAML/
H A DELFYAMLTest.cpp88 for (RelocationRef R : Sec.relocations()) { in TEST()
/llvm-project/llvm/lib/Object/
H A DXCOFFObjectFile.cpp528 return relocation_iterator(RelocationRef()); in section_rel_begin()
538 return relocation_iterator(RelocationRef()); in section_rel_begin()
542 return relocation_iterator(RelocationRef(Ret, this)); in section_rel_begin()
554 return relocation_iterator(RelocationRef()); in section_rel_end()
564 return relocation_iterator(RelocationRef()); in section_rel_end()
568 return relocation_iterator(RelocationRef(Ret, this)); in section_rel_end()
/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewReader.cpp165 for (const RelocationRef &Relocacion : Section.relocations())
169 llvm::sort(RelocMap[CoffSection], [](RelocationRef L, RelocationRef R) { in cacheRelocations()
181 for (const RelocationRef &Relocation : Relocations) {

12