Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/Object/
DRelocVisitor.h51 RelocToApply visit(uint32_t RelocType, RelocationRef R, uint64_t Value = 0) {
69 RelocToApply visitELF(uint32_t RelocType, RelocationRef R, uint64_t Value) { in visitELF()
212 RelocToApply visitCOFF(uint32_t RelocType, RelocationRef R, uint64_t Value) { in visitCOFF()
235 RelocToApply visitMachO(uint32_t RelocType, RelocationRef R, uint64_t Value) { in visitMachO()
249 int64_t getELFAddend(RelocationRef R) { in getELFAddend()
256 uint8_t getLengthMachO64(RelocationRef R) { in getLengthMachO64()
264 RelocToApply visitELF_386_NONE(RelocationRef R) { in visitELF_386_NONE()
270 RelocToApply visitELF_386_32(RelocationRef R, uint64_t Value) { in visitELF_386_32()
274 RelocToApply visitELF_386_PC32(RelocationRef R, uint64_t Value) { in visitELF_386_PC32()
280 RelocToApply visitELF_X86_64_NONE(RelocationRef R) { in visitELF_X86_64_NONE()
[all …]
DObjectFile.h40 class RelocationRef {
45 RelocationRef() : OwningObject(nullptr) { } in RelocationRef() function
47 RelocationRef(DataRefImpl RelocationP, const ObjectFile *Owner);
49 bool operator==(const RelocationRef &Other) const;
65 typedef content_iterator<RelocationRef> relocation_iterator;
231 friend class RelocationRef; variable
432 inline RelocationRef::RelocationRef(DataRefImpl RelocationP, in RelocationRef() function
437 inline bool RelocationRef::operator==(const RelocationRef &Other) const {
441 inline void RelocationRef::moveNext() { in moveNext()
445 inline uint64_t RelocationRef::getOffset() const { in getOffset()
[all …]
DELFObjectFile.h148 class ELFRelocationRef : public RelocationRef {
150 ELFRelocationRef(const RelocationRef &B) : RelocationRef(B) { in ELFRelocationRef()
151 assert(isa<ELFObjectFileBase>(RelocationRef::getObject())); in ELFRelocationRef()
155 return cast<ELFObjectFileBase>(RelocationRef::getObject()); in getObject()
166 : relocation_iterator(RelocationRef( in elf_relocation_iterator()
633 return relocation_iterator(RelocationRef(RelData, this)); in section_rel_begin()
652 return relocation_iterator(RelocationRef(RelData, this)); in section_rel_end()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DRelocationResolver.cpp18 static int64_t getELFAddend(RelocationRef R) { in getELFAddend()
42 static uint64_t resolveX86_64(RelocationRef R, uint64_t S, uint64_t A) { in resolveX86_64()
71 static uint64_t resolveAArch64(RelocationRef R, uint64_t S, uint64_t A) { in resolveAArch64()
92 static uint64_t resolveBPF(RelocationRef R, uint64_t S, uint64_t A) { in resolveBPF()
115 static uint64_t resolveMips64(RelocationRef R, uint64_t S, uint64_t A) { in resolveMips64()
140 static uint64_t resolvePPC64(RelocationRef R, uint64_t S, uint64_t A) { in resolvePPC64()
161 static uint64_t resolveSystemZ(RelocationRef R, uint64_t S, uint64_t A) { in resolveSystemZ()
184 static uint64_t resolveSparc64(RelocationRef R, uint64_t S, uint64_t A) { in resolveSparc64()
206 static uint64_t resolveAmdgpu(RelocationRef R, uint64_t S, uint64_t A) { in resolveAmdgpu()
227 static uint64_t resolveX86(RelocationRef R, uint64_t S, uint64_t A) { in resolveX86()
[all …]
DXCOFFObjectFile.cpp318 return relocation_iterator(RelocationRef()); in section_rel_begin()
323 return relocation_iterator(RelocationRef()); in section_rel_end()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
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>;
280 friend class RelocationRef; variable
519 inline RelocationRef::RelocationRef(DataRefImpl RelocationP, in RelocationRef() function
524 inline bool RelocationRef::operator==(const RelocationRef &Other) const {
528 inline void RelocationRef::moveNext() { in moveNext()
532 inline uint64_t RelocationRef::getOffset() const { in getOffset()
[all …]
DRelocationResolver.h34 using RelocationResolver = uint64_t (*)(RelocationRef R, uint64_t S, uint64_t A);
DELFObjectFile.h188 class ELFRelocationRef : public RelocationRef {
190 ELFRelocationRef(const RelocationRef &B) : RelocationRef(B) { in ELFRelocationRef()
191 assert(isa<ELFObjectFileBase>(RelocationRef::getObject())); in ELFRelocationRef()
195 return cast<ELFObjectFileBase>(RelocationRef::getObject()); in getObject()
206 : relocation_iterator(RelocationRef( in elf_relocation_iterator()
820 return relocation_iterator(RelocationRef()); in section_rel_begin()
824 return relocation_iterator(RelocationRef(RelData, this)); in section_rel_begin()
843 return relocation_iterator(RelocationRef(RelData, this)); in section_rel_end()
DWasm.h127 const wasm::WasmRelocation &getWasmRelocation(const RelocationRef &Ref) const;
/external/llvm/tools/llvm-readobj/
Dllvm-readobj.h21 class RelocationRef; variable
41 bool relocAddressLess(object::RelocationRef A,
42 object::RelocationRef B);
DMachODumper.cpp56 void printRelocation(const RelocationRef &Reloc);
58 void printRelocation(const MachOObjectFile *Obj, const RelocationRef &Reloc);
472 for (const RelocationRef &Reloc : Section.relocations()) in printSections()
507 for (const RelocationRef &Reloc : Section.relocations()) { in printRelocations()
524 void MachODumper::printRelocation(const RelocationRef &Reloc) { in printRelocation()
529 const RelocationRef &Reloc) { in printRelocation()
Dllvm-readobj.cpp278 bool relocAddressLess(RelocationRef a, RelocationRef b) { in relocAddressLess()
DCOFFDumper.cpp85 void printRelocation(const SectionRef &Section, const RelocationRef &Reloc,
136 typedef DenseMap<const coff_section*, std::vector<RelocationRef> > RelocMapTy;
537 for (const RelocationRef &Reloc : S.relocations()) in cacheRelocations()
1128 for (const RelocationRef &Reloc : Sec.relocations()) in printSections()
1162 for (const RelocationRef &Reloc : Section.relocations()) { in printRelocations()
1180 const RelocationRef &Reloc, uint64_t Bias) { in printRelocation()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFRelocMap.h22 object::RelocationRef Reloc;
24 Optional<object::RelocationRef> Reloc2;
/external/llvm/tools/llvm-objdump/
DCOFFDump.cpp177 static std::error_code resolveSymbol(const std::vector<RelocationRef> &Rels, in resolveSymbol()
179 for (std::vector<RelocationRef>::const_iterator I = Rels.begin(), in resolveSymbol()
197 const std::vector<RelocationRef> &Rels, uint64_t Offset, in getSectionContents()
213 static std::error_code resolveSymbolName(const std::vector<RelocationRef> &Rels, in resolveSymbolName()
226 const std::vector<RelocationRef> &Rels, in printCOFFSymbolAddress()
448 std::vector<RelocationRef> &Rels, in getPDataSection()
457 for (const RelocationRef &Reloc : Section.relocations()) in getPDataSection()
543 const std::vector<RelocationRef> &Rels) { in printRuntimeFunctionRels()
591 std::vector<RelocationRef> Rels; in printCOFFUnwindInfo()
Dllvm-objdump.h26 class RelocationRef; variable
66 bool RelocAddressLess(object::RelocationRef a, object::RelocationRef b);
Dllvm-objdump.cpp358 bool llvm::RelocAddressLess(RelocationRef a, RelocationRef b) { in RelocAddressLess()
488 const RelocationRef &RelRef, in getRelocationValueString()
620 const RelocationRef &Rel, in getRelocationValueString()
633 const RelocationRef &Rel, in getRelocationValueString()
720 const RelocationRef &RelRef, in getRelocationValueString()
897 static std::error_code getRelocationValueString(const RelocationRef &Rel, in getRelocationValueString()
911 static bool getHidden(RelocationRef RelRef) { in getHidden()
1090 std::vector<RelocationRef> Rels; in DisassembleObject()
1093 for (const RelocationRef &Reloc : RelocSec.relocations()) { in DisassembleObject()
1129 std::vector<RelocationRef>::const_iterator rel_cur = Rels.begin(); in DisassembleObject()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldELF.h160 bool relocationNeedsGot(const RelocationRef &R) const override;
161 bool relocationNeedsStub(const RelocationRef &R) const override;
DRuntimeDyldImpl.h454 virtual bool relocationNeedsGot(const RelocationRef &R) const { in relocationNeedsGot()
459 virtual bool relocationNeedsStub(const RelocationRef &R) const { in relocationNeedsStub()
/external/llvm/include/llvm/MC/MCDisassembler/
DMCRelocationInfo.h24 class RelocationRef; variable
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldELF.h158 bool relocationNeedsStub(const RelocationRef &R) const override;
DRuntimeDyldImpl.h417 virtual bool relocationNeedsStub(const RelocationRef &R) const { in relocationNeedsStub()
/external/llvm/tools/llvm-cxxdump/
Dllvm-cxxdump.cpp84 for (const object::RelocationRef &Reloc : SR.relocations()) { in collectRelocatedSymbols()
108 for (const object::RelocationRef &Reloc : SR.relocations()) { in collectRelocationOffsets()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/
DInstrumentationMap.cpp110 for (const object::RelocationRef &Reloc : Section.relocations()) { in loadObj()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFContext.cpp1356 const RelocationRef &Reloc, in getSymbolInfo()
1411 const RelocationRef &Reloc) { in isRelocScattered()
1720 for (const RelocationRef &Reloc : Section.relocations()) { in DWARFObjInMemory()
1743 Optional<object::RelocationRef>(), 0, Resolver}); in DWARFObjInMemory()

12