Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/include/llvm/Object/
H A DRelocVisitor.h43 uint64_t visit(uint32_t Rel, RelocationRef R, uint64_t Value = 0) {
63 uint64_t visitELF(uint32_t Rel, RelocationRef R, uint64_t Value) { in visitELF()
119 int64_t getELFAddend(RelocationRef R) { in getELFAddend()
127 uint64_t visitX86_64(uint32_t Rel, RelocationRef R, uint64_t Value) { in visitX86_64()
160 uint64_t visitBpf(uint32_t Rel, RelocationRef R, uint64_t Value) { in visitBpf()
184 uint64_t visitPPC64(uint32_t Rel, RelocationRef R, uint64_t Value) { in visitPPC64()
232 uint64_t visitX86(uint32_t Rel, RelocationRef R, uint64_t Value) { in visitX86()
245 uint64_t visitPPC32(uint32_t Rel, RelocationRef R, uint64_t Value) { in visitPPC32()
252 uint64_t visitARM(uint32_t Rel, RelocationRef R, uint64_t Value) { in visitARM()
293 uint64_t visitCOFF(uint32_t Rel, RelocationRef R, uint64_t Value) { in visitCOFF()
[all …]
H A DObjectFile.h52 class RelocationRef {
57 RelocationRef() = default;
60 bool operator==(const RelocationRef &Other) const;
77 using relocation_iterator = content_iterator<RelocationRef>;
260 friend class RelocationRef; variable
495 inline RelocationRef::RelocationRef(DataRefImpl RelocationP, in RelocationRef() function
500 inline bool RelocationRef::operator==(const RelocationRef &Other) const {
504 inline void RelocationRef::moveNext() { in moveNext()
508 inline uint64_t RelocationRef::getOffset() const { in getOffset()
512 inline symbol_iterator RelocationRef::getSymbol() const { in getSymbol()
[all …]
H A DELFObjectFile.h169 class ELFRelocationRef : public RelocationRef {
171 ELFRelocationRef(const RelocationRef &B) : RelocationRef(B) { in ELFRelocationRef()
172 assert(isa<ELFObjectFileBase>(RelocationRef::getObject())); in ELFRelocationRef()
176 return cast<ELFObjectFileBase>(RelocationRef::getObject()); in getObject()
187 : relocation_iterator(RelocationRef( in elf_relocation_iterator()
784 return relocation_iterator(RelocationRef()); in section_rel_begin()
788 return relocation_iterator(RelocationRef(RelData, this)); in section_rel_begin()
807 return relocation_iterator(RelocationRef(RelData, this)); in section_rel_end()
H A DWasm.h128 const wasm::WasmRelocation &getWasmRelocation(const RelocationRef &Ref) const;
H A DCOFF.h935 const coff_relocation *getCOFFRelocation(const RelocationRef &Reloc) const;
/freebsd-12.1/contrib/llvm/tools/llvm-readobj/
H A Dllvm-readobj.h21 class RelocationRef; variable
47 bool relocAddressLess(object::RelocationRef A,
48 object::RelocationRef B);
H A DWasmDumper.cpp59 void printRelocation(const SectionRef &Section, const RelocationRef &Reloc);
70 const RelocationRef &Reloc) { in printRelocation()
126 for (const RelocationRef &Reloc : Section.relocations()) { in printRelocations()
197 for (const RelocationRef &Reloc : Section.relocations()) in printSectionHeaders()
H A DMachODumper.cpp58 void printRelocation(const RelocationRef &Reloc);
60 void printRelocation(const MachOObjectFile *Obj, const RelocationRef &Reloc);
472 for (const RelocationRef &Reloc : Section.relocations()) in printSectionHeaders()
507 for (const RelocationRef &Reloc : Section.relocations()) { in printRelocations()
524 void MachODumper::printRelocation(const RelocationRef &Reloc) { in printRelocation()
529 const RelocationRef &Reloc) { in printRelocation()
H A Dllvm-readobj.cpp364 bool relocAddressLess(RelocationRef a, RelocationRef b) { in relocAddressLess()
H A DCOFFDumper.cpp105 void printRelocation(const SectionRef &Section, const RelocationRef &Reloc,
172 typedef DenseMap<const coff_section*, std::vector<RelocationRef> > RelocMapTy;
612 for (const RelocationRef &Reloc : S.relocations()) in cacheRelocations()
1309 for (const RelocationRef &Reloc : Sec.relocations()) in printSectionHeaders()
1343 for (const RelocationRef &Reloc : Section.relocations()) { in printRelocations()
1361 const RelocationRef &Reloc, uint64_t Bias) { in printRelocation()
/freebsd-12.1/contrib/llvm/tools/llvm-objdump/
H A DCOFFDump.cpp176 static std::error_code resolveSymbol(const std::vector<RelocationRef> &Rels, in resolveSymbol()
194 const std::vector<RelocationRef> &Rels, uint64_t Offset, in getSectionContents()
210 static std::error_code resolveSymbolName(const std::vector<RelocationRef> &Rels, in resolveSymbolName()
223 const std::vector<RelocationRef> &Rels, in printCOFFSymbolAddress()
445 std::vector<RelocationRef> &Rels, in getPDataSection()
454 for (const RelocationRef &Reloc : Section.relocations()) in getPDataSection()
540 const std::vector<RelocationRef> &Rels) { in printRuntimeFunctionRels()
589 std::vector<RelocationRef> Rels; in printCOFFUnwindInfo()
H A Dllvm-objdump.h28 class RelocationRef; variable
73 bool isRelocAddressLess(object::RelocationRef A, object::RelocationRef B);
H A Dllvm-objdump.cpp462 bool llvm::isRelocAddressLess(RelocationRef A, RelocationRef B) { in isRelocAddressLess()
885 static bool getHidden(RelocationRef RelRef) { in getHidden()
1053 std::vector<RelocationRef> *Rels) override { in printInst()
1075 std::vector<RelocationRef>::const_iterator RelEnd = Rels->end(); in printInst()
1128 std::vector<RelocationRef> *Rels) override { in printInst()
1180 std::vector<RelocationRef> *Rels) override { in printInst()
1518 std::vector<RelocationRef> Rels; in disassembleObject()
1521 for (const RelocationRef &Reloc : RelocSec.relocations()) { in disassembleObject()
1559 std::vector<RelocationRef>::const_iterator RelEnd = Rels.end(); in disassembleObject()
1882 for (const RelocationRef &Reloc : Section.relocations()) { in printRelocations()
[all …]
H A DMachODump.cpp1147 for (const RelocationRef &Reloc : Section.relocations()) { in DumpLiteralPointerSection()
1294 for (const RelocationRef &Reloc : Section.relocations()) { in DumpInitTermPointerSection()
2279 for (const RelocationRef &Reloc : info->S.relocations()) { in SymbolizerGetOpInfo()
2394 for (const RelocationRef &Reloc : info->S.relocations()) { in SymbolizerGetOpInfo()
2467 find_if(info->S.relocations(), [&](const RelocationRef &Reloc) { in SymbolizerGetOpInfo()
2996 for (const RelocationRef &Reloc : S.relocations()) { in get_symbol_64()
6530 for (const RelocationRef &Reloc : info->S.relocations()) { in GuessLiteralPointer()
7380 RelocationRef FunctionReloc;
7381 RelocationRef PersonalityReloc;
7382 RelocationRef LSDAReloc;
[all …]
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldELF.h161 bool relocationNeedsGot(const RelocationRef &R) const override;
162 bool relocationNeedsStub(const RelocationRef &R) const override;
H A DRuntimeDyldImpl.h463 virtual bool relocationNeedsGot(const RelocationRef &R) const { in relocationNeedsGot()
468 virtual bool relocationNeedsStub(const RelocationRef &R) const { in relocationNeedsStub()
H A DRuntimeDyld.cpp578 for (const RelocationRef &Reloc : SI->relocations()) in computeGOTSize()
603 for (const RelocationRef &Reloc : SI->relocations()) in computeSectionStubBufSize()
H A DRuntimeDyldELF.cpp1904 bool RuntimeDyldELF::relocationNeedsGot(const RelocationRef &R) const { in relocationNeedsGot()
1918 bool RuntimeDyldELF::relocationNeedsStub(const RelocationRef &R) const { in relocationNeedsStub()
/freebsd-12.1/contrib/llvm/lib/XRay/
H A DInstrumentationMap.cpp102 for (const object::RelocationRef &Reloc : Section.relocations()) { in loadObj()
/freebsd-12.1/contrib/llvm/tools/llvm-cxxdump/
H A Dllvm-cxxdump.cpp84 for (const object::RelocationRef &Reloc : SR.relocations()) { in collectRelocatedSymbols()
108 for (const object::RelocationRef &Reloc : SR.relocations()) { in collectRelocationOffsets()
/freebsd-12.1/contrib/llvm/lib/Object/
H A DCOFFObjectFile.cpp389 return relocation_iterator(RelocationRef(Ret, this)); in section_rel_begin()
399 return relocation_iterator(RelocationRef(Ret, this)); in section_rel_end()
1191 COFFObjectFile::getCOFFRelocation(const RelocationRef &Reloc) const { in getCOFFRelocation()
H A DWasmObjectFile.cpp1359 return relocation_iterator(RelocationRef(RelocRef, this)); in section_rel_begin()
1367 return relocation_iterator(RelocationRef(RelocRef, this)); in section_rel_end()
1448 WasmObjectFile::getWasmRelocation(const RelocationRef &Ref) const { in getWasmRelocation()
H A DMachOObjectFile.cpp2017 return relocation_iterator(RelocationRef(Ret, this)); in section_rel_begin()
2034 return relocation_iterator(RelocationRef(Ret, this)); in section_rel_end()
2042 return relocation_iterator(RelocationRef(Ret, this)); in extrel_begin()
2051 return relocation_iterator(RelocationRef(Ret, this)); in extrel_end()
2059 return relocation_iterator(RelocationRef(Ret, this)); in locrel_begin()
2068 return relocation_iterator(RelocationRef(Ret, this)); in locrel_end()
/freebsd-12.1/contrib/llvm/lib/DebugInfo/DWARF/
H A DDWARFContext.cpp1163 const RelocationRef &Reloc, in getSymbolInfo()
1218 const RelocationRef &Reloc) { in isRelocScattered()
1498 for (const RelocationRef &Reloc : Section.relocations()) { in DWARFObjInMemory()