Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Object/
H A DObjectFile.h52 class RelocationRef {
57 RelocationRef() = default;
60 bool operator==(const RelocationRef &Other) const;
77 using relocation_iterator = content_iterator<RelocationRef>;
287 friend class RelocationRef; variable
606 inline RelocationRef::RelocationRef(DataRefImpl RelocationP, in RelocationRef() function
611 inline bool RelocationRef::operator==(const RelocationRef &Other) const {
615 inline void RelocationRef::moveNext() { in moveNext()
619 inline uint64_t RelocationRef::getOffset() const { in getOffset()
623 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 DGOFFObjectFile.h102 return relocation_iterator(RelocationRef(Sec, this)); in section_rel_begin()
105 return relocation_iterator(RelocationRef(Sec, this)); in section_rel_end()
H A DELFObjectFile.h214 class ELFRelocationRef : public RelocationRef {
216 ELFRelocationRef(const RelocationRef &B) : RelocationRef(B) { in ELFRelocationRef()
217 assert(isa<ELFObjectFileBase>(RelocationRef::getObject())); in ELFRelocationRef()
221 return cast<ELFObjectFileBase>(RelocationRef::getObject()); in getObject()
232 : relocation_iterator(RelocationRef( in elf_relocation_iterator()
993 return relocation_iterator(RelocationRef()); in section_rel_begin()
997 return relocation_iterator(RelocationRef(RelData, this)); in section_rel_begin()
1017 return relocation_iterator(RelocationRef(RelData, this)); in section_rel_end()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFRelocMap.h23 object::RelocationRef Reloc;
25 std::optional<object::RelocationRef> Reloc2;
/freebsd-14.2/contrib/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.h33 class RelocationRef; variable
119 bool isRelocAddressLess(object::RelocationRef A, object::RelocationRef B);
H A DMachODump.h25 class RelocationRef; variable
65 const object::RelocationRef &RelRef,
H A DCOFFDump.cpp342 static Error resolveSymbol(const std::vector<RelocationRef> &Rels, in resolveSymbol()
360 const std::vector<RelocationRef> &Rels, uint64_t Offset, in getSectionContents()
374 static Error resolveSymbolName(const std::vector<RelocationRef> &Rels, in resolveSymbolName()
387 const std::vector<RelocationRef> &Rels, in printCOFFSymbolAddress()
595 std::vector<RelocationRef> &Rels, in getPDataSection()
623 const RelocationRef &Rel, in getCOFFRelocationValueString()
702 const std::vector<RelocationRef> &Rels) { in printRuntimeFunctionRels()
753 std::vector<RelocationRef> Rels; in printCOFFUnwindInfo()
H A DXCOFFDump.h35 const object::RelocationRef &RelRef,
H A DWasmDump.cpp45 const RelocationRef &RelRef, in getWasmRelocationValueString()
H A Dllvm-objdump.cpp421 bool objdump::isRelocAddressLess(RelocationRef A, RelocationRef B) { in isRelocAddressLess()
425 static Error getRelocationValueString(const RelocationRef &Rel, in getRelocationValueString()
446 static bool getHidden(RelocationRef RelRef) { in getHidden()
626 std::vector<RelocationRef>::const_iterator RelEnd = Rels->end(); in printInst()
1115 static std::map<SectionRef, std::vector<RelocationRef>>
1117 std::map<SectionRef, std::vector<RelocationRef>> Ret; in getRelocsMap()
1131 std::vector<RelocationRef> &V = Ret[*Relocated]; in getRelocsMap()
1551 std::map<SectionRef, std::vector<RelocationRef>> RelocMap; in disassembleObject()
1802 std::vector<RelocationRef> Rels = RelocMap[Section]; in disassembleObject()
1804 std::vector<RelocationRef>::const_iterator RelEnd = Rels.end(); in disassembleObject()
[all …]
H A DELFDump.cpp91 const RelocationRef &RelRef, in getRelocationValueString()
162 const RelocationRef &Rel, in getELFRelocationValueString()
345 for (const RelocationRef &Reloc : Section.relocations()) { in printDynamicRelocations()
/freebsd-14.2/contrib/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()
H A DCOFFDumper.cpp116 void printRelocation(const SectionRef &Section, const RelocationRef &Reloc,
181 typedef DenseMap<const coff_section*, std::vector<RelocationRef> > RelocMapTy;
650 llvm::sort(RelocMap[Section], [](RelocationRef L, RelocationRef R) { in cacheRelocations()
1531 for (const RelocationRef &Reloc : Sec.relocations()) in printSectionHeaders()
1562 for (const RelocationRef &Reloc : Section.relocations()) { in printRelocations()
1580 const RelocationRef &Reloc, uint64_t Bias) { in printRelocation()
/freebsd-14.2/contrib/llvm-project/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.h449 virtual bool relocationNeedsGot(const RelocationRef &R) const { in relocationNeedsGot()
454 virtual bool relocationNeedsStub(const RelocationRef &R) const { in relocationNeedsStub()
/freebsd-14.2/contrib/llvm-project/lld/ELF/
H A DDWARF.cpp129 return RelocAddrEntry{secIndex, RelocationRef(d, nullptr), in findAux()
130 val, std::optional<object::RelocationRef>(), in findAux()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Object/
H A DXCOFFObjectFile.cpp521 return relocation_iterator(RelocationRef()); in section_rel_begin()
531 return relocation_iterator(RelocationRef()); in section_rel_begin()
535 return relocation_iterator(RelocationRef(Ret, this)); in section_rel_begin()
547 return relocation_iterator(RelocationRef()); in section_rel_end()
557 return relocation_iterator(RelocationRef()); in section_rel_end()
561 return relocation_iterator(RelocationRef(Ret, this)); in section_rel_end()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewReader.cpp170 for (const RelocationRef &Relocacion : Section.relocations()) in cacheRelocations()
174 llvm::sort(RelocMap[CoffSection], [](RelocationRef L, RelocationRef R) { in cacheRelocations()
186 for (const RelocationRef &Relocation : Relocations) { in resolveSymbol()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/
H A DLVCodeViewReader.h120 std::vector<llvm::object::RelocationRef>>;

12