Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/include/llvm/Object/
HDRelocVisitor.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 …]
HDObjectFile.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;
228 friend class RelocationRef; variable
419 inline RelocationRef::RelocationRef(DataRefImpl RelocationP, in RelocationRef() function
424 inline bool RelocationRef::operator==(const RelocationRef &Other) const {
428 inline void RelocationRef::moveNext() { in moveNext()
432 inline uint64_t RelocationRef::getOffset() const { in getOffset()
[all …]
HDELFObjectFile.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()
605 return relocation_iterator(RelocationRef(RelData, this)); in section_rel_begin()
618 return relocation_iterator(RelocationRef(RelData, this)); in section_rel_begin()
630 return relocation_iterator(RelocationRef(RelData, this)); in section_rel_end()
HDCOFF.h690 const coff_relocation *getCOFFRelocation(const RelocationRef &Reloc) const;
/NextBSD/contrib/llvm/tools/llvm-readobj/
HDllvm-readobj.h18 class RelocationRef; variable
23 bool relocAddressLess(object::RelocationRef A,
24 object::RelocationRef B);
HDMachODumper.cpp49 void printRelocation(const RelocationRef &Reloc);
51 void printRelocation(const MachOObjectFile *Obj, const RelocationRef &Reloc);
404 for (const RelocationRef &Reloc : Section.relocations()) in printSections()
441 for (const RelocationRef &Reloc : Section.relocations()) { in printRelocations()
458 void MachODumper::printRelocation(const RelocationRef &Reloc) { in printRelocation()
463 const RelocationRef &Reloc) { in printRelocation()
HDCOFFDumper.cpp66 void printRelocation(const SectionRef &Section, const RelocationRef &Reloc);
91 typedef DenseMap<const coff_section*, std::vector<RelocationRef> > RelocMapTy;
350 for (const RelocationRef &Reloc : S.relocations()) in cacheRelocations()
771 for (const RelocationRef &Reloc : Sec.relocations()) in printSections()
810 for (const RelocationRef &Reloc : Section.relocations()) { in printRelocations()
828 const RelocationRef &Reloc) { in printRelocation()
HDllvm-readobj.cpp205 bool relocAddressLess(RelocationRef a, RelocationRef b) { in relocAddressLess()
/NextBSD/contrib/llvm/tools/llvm-objdump/
HDCOFFDump.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()
380 std::vector<RelocationRef> &Rels, in getPDataSection()
390 for (const RelocationRef &Reloc : Section.relocations()) in getPDataSection()
477 const std::vector<RelocationRef> &Rels) { in printRuntimeFunctionRels()
526 std::vector<RelocationRef> Rels; in printCOFFUnwindInfo()
HDllvm-objdump.h21 class RelocationRef; variable
58 bool RelocAddressLess(object::RelocationRef a, object::RelocationRef b);
HDllvm-objdump.cpp218 bool llvm::RelocAddressLess(RelocationRef a, RelocationRef b) { in RelocAddressLess()
421 const RelocationRef &RelRef, in getRelocationValueString()
435 const RelocationRef &Rel, in getRelocationValueString()
512 const RelocationRef &RelRef, in getRelocationValueString()
689 static std::error_code getRelocationValueString(const RelocationRef &Rel, in getRelocationValueString()
703 static bool getHidden(RelocationRef RelRef) { in getHidden()
871 std::vector<RelocationRef> Rels; in DisassembleObject()
874 for (const RelocationRef &Reloc : RelocSec.relocations()) { in DisassembleObject()
912 std::vector<RelocationRef>::const_iterator rel_cur = Rels.begin(); in DisassembleObject()
913 std::vector<RelocationRef>::const_iterator rel_end = Rels.end(); in DisassembleObject()
[all …]
HDMachODump.cpp781 for (const RelocationRef &Reloc : Section.relocations()) { in DumpLiteralPointerSection()
1749 for (const RelocationRef &Reloc : info->S.relocations()) { in SymbolizerGetOpInfo()
1827 for (const RelocationRef &Reloc : info->S.relocations()) { in SymbolizerGetOpInfo()
1898 [&](const RelocationRef &Reloc) { in SymbolizerGetOpInfo()
2025 [&](const RelocationRef &Reloc) { in SymbolizerGetOpInfo()
2418 for (const RelocationRef &Reloc : S.relocations()) { in get_symbol_64()
5598 for (const RelocationRef &Reloc : info->S.relocations()) { in GuessLiteralPointer()
6092 for (const RelocationRef &Reloc : Sections[SectIdx].relocations()) { in DisassembleMachO()
6381 RelocationRef FunctionReloc;
6382 RelocationRef PersonalityReloc;
[all …]
/NextBSD/contrib/llvm/include/llvm/MC/
HDMCRelocationInfo.h24 class RelocationRef; variable
43 virtual const MCExpr *createExprForRelocation(object::RelocationRef Rel);
/NextBSD/contrib/llvm/lib/MC/MCDisassembler/
HDMCRelocationInfo.cpp25 MCRelocationInfo::createExprForRelocation(object::RelocationRef Rel) { in createExprForRelocation()
/NextBSD/contrib/llvm/lib/Target/X86/MCTargetDesc/
HDX86ELFRelocationInfo.cpp28 const MCExpr *createExprForRelocation(RelocationRef Rel) override { in createExprForRelocation()
HDX86MachORelocationInfo.cpp27 const MCExpr *createExprForRelocation(RelocationRef Rel) override { in createExprForRelocation()
/NextBSD/contrib/llvm/tools/llvm-cxxdump/
HDllvm-cxxdump.cpp94 for (const object::RelocationRef &Reloc : SR.relocations()) { in collectRelocatedSymbols()
120 for (const object::RelocationRef &Reloc : SR.relocations()) { in collectRelocationOffsets()
/NextBSD/contrib/llvm/lib/Object/
HDCOFFObjectFile.cpp363 return relocation_iterator(RelocationRef(Ret, this)); in section_rel_begin()
373 return relocation_iterator(RelocationRef(Ret, this)); in section_rel_end()
998 COFFObjectFile::getCOFFRelocation(const RelocationRef &Reloc) const { in getCOFFRelocation()
HDMachOObjectFile.cpp561 return relocation_iterator(RelocationRef(Ret, this)); in section_rel_begin()
578 return relocation_iterator(RelocationRef(Ret, this)); in section_rel_end()
/NextBSD/contrib/llvm/lib/DebugInfo/DWARF/
HDDWARFContext.cpp669 for (const RelocationRef &Reloc : Section.relocations()) { in DWARFContextInMemory()
/NextBSD/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/
HDRuntimeDyld.cpp409 for (const RelocationRef &Reloc : SI->relocations()) { in computeSectionStubBufSize()