Home
last modified time | relevance | path

Searched refs:RelocationRef (Results 1 – 25 of 29) 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/include/llvm/Object/
DObjectFile.h130 class RelocationRef {
135 RelocationRef() : OwningObject(NULL) { in RelocationRef() function
139 RelocationRef(DataRefImpl RelocationP, const ObjectFile *Owner);
141 bool operator==(const RelocationRef &Other) const;
143 error_code getNext(RelocationRef &Result) const;
161 typedef content_iterator<RelocationRef> relocation_iterator;
255 friend class RelocationRef; variable
257 RelocationRef &Res) const = 0;
416 inline RelocationRef::RelocationRef(DataRefImpl RelocationP, in RelocationRef() function
421 inline bool RelocationRef::operator==(const RelocationRef &Other) const {
[all …]
DMachO.h67 RelocationRef &Res) const;
DCOFF.h120 RelocationRef &Res) 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/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 …]
DMachODump.cpp828 for (const RelocationRef &Reloc : Section.relocations()) { in DumpLiteralPointerSection()
1849 for (const RelocationRef &Reloc : info->S.relocations()) { in SymbolizerGetOpInfo()
1935 for (const RelocationRef &Reloc : info->S.relocations()) { in SymbolizerGetOpInfo()
2019 [&](const RelocationRef &Reloc) { in SymbolizerGetOpInfo()
2158 [&](const RelocationRef &Reloc) { in SymbolizerGetOpInfo()
2568 for (const RelocationRef &Reloc : S.relocations()) { in get_symbol_64()
6110 for (const RelocationRef &Reloc : info->S.relocations()) { in GuessLiteralPointer()
6944 RelocationRef FunctionReloc;
6945 RelocationRef PersonalityReloc;
6946 RelocationRef LSDAReloc;
[all …]
/external/swiftshader/third_party/LLVM/tools/llvm-objdump/
Dllvm-objdump.cpp147 static bool RelocAddressLess(RelocationRef a, RelocationRef b) { in RelocAddressLess()
196 std::vector<RelocationRef> Rels; in DisassembleObject()
258 std::vector<RelocationRef>::const_iterator rel_cur = Rels.begin(); in DisassembleObject()
259 std::vector<RelocationRef>::const_iterator rel_end = Rels.end(); in DisassembleObject()
/external/llvm/include/llvm/MC/MCDisassembler/
DMCRelocationInfo.h24 class RelocationRef; variable
/external/swiftshader/third_party/LLVM/lib/Object/
DCOFFObjectFile.cpp392 return relocation_iterator(RelocationRef(ret, this)); in getSectionRelBegin()
407 return relocation_iterator(RelocationRef(ret, this)); in getSectionRelEnd()
567 RelocationRef &Res) const { in getRelocationNext()
570 Res = RelocationRef(Rel, this); in getRelocationNext()
DMachOObjectFile.cpp488 return relocation_iterator(RelocationRef(ret, this)); in getSectionRelBegin()
504 return relocation_iterator(RelocationRef(ret, this)); in getSectionRelEnd()
539 RelocationRef &Res) const { in getRelocationNext()
541 Res = RelocationRef(Rel, this); in getRelocationNext()
DELFObjectFile.cpp351 RelocationRef &Res) const;
769 return relocation_iterator(RelocationRef(RelData, this)); in getSectionRelBegin()
787 return relocation_iterator(RelocationRef(RelData, this)); in getSectionRelEnd()
794 RelocationRef &Result) const { in getRelocationNext()
816 Result = RelocationRef(Rel, this); in getRelocationNext()
/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()
DRuntimeDyld.cpp520 for (const RelocationRef &Reloc : SI->relocations()) in computeSectionStubBufSize()
/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/llvm/lib/Object/
DCOFFObjectFile.cpp372 return relocation_iterator(RelocationRef(Ret, this)); in section_rel_begin()
382 return relocation_iterator(RelocationRef(Ret, this)); in section_rel_end()
1101 COFFObjectFile::getCOFFRelocation(const RelocationRef &Reloc) const { in getCOFFRelocation()
/external/llvm/lib/DebugInfo/DWARF/
DDWARFContext.cpp787 for (const RelocationRef &Reloc : Section.relocations()) { in DWARFContextInMemory()

12