Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Object/
DRelocVisitor.h52 RelocToApply visit(uint32_t RelocType, RelocationRef R, uint64_t Value = 0) {
70 RelocToApply visitELF(uint32_t RelocType, RelocationRef R, uint64_t Value) { in visitELF()
205 RelocToApply visitCOFF(uint32_t RelocType, RelocationRef R, uint64_t Value) { in visitCOFF()
228 RelocToApply visitMachO(uint32_t RelocType, RelocationRef R, uint64_t Value) { in visitMachO()
242 int64_t getELFAddend(RelocationRef R) { in getELFAddend()
249 uint8_t getLengthMachO64(RelocationRef R) { in getLengthMachO64()
257 RelocToApply visitELF_386_NONE(RelocationRef R) { in visitELF_386_NONE()
263 RelocToApply visitELF_386_32(RelocationRef R, uint64_t Value) { in visitELF_386_32()
267 RelocToApply visitELF_386_PC32(RelocationRef R, uint64_t Value) { in visitELF_386_PC32()
273 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;
227 friend class RelocationRef; variable
418 inline RelocationRef::RelocationRef(DataRefImpl RelocationP, in RelocationRef() function
423 inline bool RelocationRef::operator==(const RelocationRef &Other) const {
427 inline void RelocationRef::moveNext() { in moveNext()
431 inline uint64_t RelocationRef::getOffset() const { in getOffset()
[all …]
DELFObjectFile.h140 class ELFRelocationRef : public RelocationRef {
142 ELFRelocationRef(const RelocationRef &B) : RelocationRef(B) { in ELFRelocationRef()
143 assert(isa<ELFObjectFileBase>(RelocationRef::getObject())); in ELFRelocationRef()
147 return cast<ELFObjectFileBase>(RelocationRef::getObject()); in getObject()
158 : relocation_iterator(RelocationRef( in elf_relocation_iterator()
612 return relocation_iterator(RelocationRef(RelData, this)); in section_rel_begin()
625 return relocation_iterator(RelocationRef(RelData, this)); in section_rel_begin()
637 return relocation_iterator(RelocationRef(RelData, this)); in section_rel_end()
DCOFF.h689 const coff_relocation *getCOFFRelocation(const RelocationRef &Reloc) const;
/external/llvm/tools/llvm-readobj/
Dllvm-readobj.h19 class RelocationRef; variable
25 bool relocAddressLess(object::RelocationRef A,
26 object::RelocationRef B);
DMachODumper.cpp57 void printRelocation(const RelocationRef &Reloc);
59 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()
DCOFFDumper.cpp67 void printRelocation(const SectionRef &Section, const RelocationRef &Reloc);
92 typedef DenseMap<const coff_section*, std::vector<RelocationRef> > RelocMapTy;
352 for (const RelocationRef &Reloc : S.relocations()) in cacheRelocations()
775 for (const RelocationRef &Reloc : Sec.relocations()) in printSections()
809 for (const RelocationRef &Reloc : Section.relocations()) { in printRelocations()
827 const RelocationRef &Reloc) { in printRelocation()
Dllvm-readobj.cpp247 bool relocAddressLess(RelocationRef a, RelocationRef b) { in relocAddressLess()
/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()
375 std::vector<RelocationRef> &Rels, in getPDataSection()
384 for (const RelocationRef &Reloc : Section.relocations()) in getPDataSection()
470 const std::vector<RelocationRef> &Rels) { in printRuntimeFunctionRels()
518 std::vector<RelocationRef> Rels; in printCOFFUnwindInfo()
Dllvm-objdump.h21 class RelocationRef; variable
59 bool RelocAddressLess(object::RelocationRef a, object::RelocationRef b);
Dllvm-objdump.cpp293 bool llvm::RelocAddressLess(RelocationRef a, RelocationRef b) { in RelocAddressLess()
379 const RelocationRef &RelRef, in getRelocationValueString()
493 const RelocationRef &Rel, in getRelocationValueString()
506 const RelocationRef &Rel, in getRelocationValueString()
583 const RelocationRef &RelRef, in getRelocationValueString()
760 static std::error_code getRelocationValueString(const RelocationRef &Rel, in getRelocationValueString()
774 static bool getHidden(RelocationRef RelRef) { in getHidden()
955 std::vector<RelocationRef> Rels; in DisassembleObject()
958 for (const RelocationRef &Reloc : RelocSec.relocations()) { in DisassembleObject()
994 std::vector<RelocationRef>::const_iterator rel_cur = Rels.begin(); in DisassembleObject()
[all …]
DMachODump.cpp774 for (const RelocationRef &Reloc : Section.relocations()) { in DumpLiteralPointerSection()
1730 for (const RelocationRef &Reloc : info->S.relocations()) { in SymbolizerGetOpInfo()
1811 for (const RelocationRef &Reloc : info->S.relocations()) { in SymbolizerGetOpInfo()
1885 [&](const RelocationRef &Reloc) { in SymbolizerGetOpInfo()
2019 [&](const RelocationRef &Reloc) { in SymbolizerGetOpInfo()
2414 for (const RelocationRef &Reloc : S.relocations()) { in get_symbol_64()
5581 for (const RelocationRef &Reloc : info->S.relocations()) { in GuessLiteralPointer()
6349 RelocationRef FunctionReloc;
6350 RelocationRef PersonalityReloc;
6351 RelocationRef LSDAReloc;
[all …]
/external/llvm/include/llvm/MC/
DMCRelocationInfo.h24 class RelocationRef; variable
43 virtual const MCExpr *createExprForRelocation(object::RelocationRef Rel);
/external/llvm/lib/MC/MCDisassembler/
DMCRelocationInfo.cpp25 MCRelocationInfo::createExprForRelocation(object::RelocationRef Rel) { in createExprForRelocation()
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86ELFRelocationInfo.cpp28 const MCExpr *createExprForRelocation(RelocationRef Rel) override { in createExprForRelocation()
DX86MachORelocationInfo.cpp27 const MCExpr *createExprForRelocation(RelocationRef Rel) override { in createExprForRelocation()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldELF.h155 bool relocationNeedsStub(const RelocationRef &R) const override;
DRuntimeDyldImpl.h425 virtual bool relocationNeedsStub(const RelocationRef &R) const { in relocationNeedsStub()
DRuntimeDyld.cpp435 for (const RelocationRef &Reloc : SI->relocations()) in computeSectionStubBufSize()
DRuntimeDyldELF.cpp1854 bool RuntimeDyldELF::relocationNeedsStub(const RelocationRef &R) const { in relocationNeedsStub()
/external/llvm/tools/llvm-cxxdump/
Dllvm-cxxdump.cpp76 for (const object::RelocationRef &Reloc : SR.relocations()) { in collectRelocatedSymbols()
100 for (const object::RelocationRef &Reloc : SR.relocations()) { in collectRelocationOffsets()
/external/llvm/lib/Object/
DCOFFObjectFile.cpp369 return relocation_iterator(RelocationRef(Ret, this)); in section_rel_begin()
379 return relocation_iterator(RelocationRef(Ret, this)); in section_rel_end()
1016 COFFObjectFile::getCOFFRelocation(const RelocationRef &Reloc) const { in getCOFFRelocation()
DMachOObjectFile.cpp583 return relocation_iterator(RelocationRef(Ret, this)); in section_rel_begin()
600 return relocation_iterator(RelocationRef(Ret, this)); in section_rel_end()
/external/llvm/lib/DebugInfo/DWARF/
DDWARFContext.cpp731 for (const RelocationRef &Reloc : Section.relocations()) { in DWARFContextInMemory()
/external/llvm/tools/dsymutil/
DDwarfLinker.cpp1886 for (const object::RelocationRef &Reloc : Section.relocations()) { in findValidRelocsMachO()