Home
last modified time | relevance | path

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

12

/NextBSD/contrib/llvm/lib/Target/X86/MCTargetDesc/
HDX86MachORelocationInfo.cpp27 const MCExpr *createExprForRelocation(RelocationRef Rel) override { in createExprForRelocation() argument
28 const MachOObjectFile *Obj = cast<MachOObjectFile>(Rel.getObject()); in createExprForRelocation()
30 uint64_t RelType = Rel.getType(); in createExprForRelocation()
31 symbol_iterator SymI = Rel.getSymbol(); in createExprForRelocation()
39 any_relocation_info RE = Obj->getRelocation(Rel.getRawDataRefImpl()); in createExprForRelocation()
78 Rel.moveNext(); in createExprForRelocation()
80 Obj->getRelocation(Rel.getRawDataRefImpl()); in createExprForRelocation()
92 symbol_iterator RSymI = Rel.getSymbol(); in createExprForRelocation()
HDX86ELFRelocationInfo.cpp28 const MCExpr *createExprForRelocation(RelocationRef Rel) override { in createExprForRelocation() argument
29 uint64_t RelType = Rel.getType(); in createExprForRelocation()
30 elf_symbol_iterator SymI = Rel.getSymbol(); in createExprForRelocation()
41 int64_t Addend = *ELFRelocationRef(Rel).getAddend(); in createExprForRelocation()
/NextBSD/contrib/llvm/include/llvm/Object/
HDELFObjectFile.h57 virtual ErrorOr<int64_t> getRelocationAddend(DataRefImpl Rel) const = 0;
227 void moveRelocationNext(DataRefImpl &Rel) const override;
228 uint64_t getRelocationOffset(DataRefImpl Rel) const override;
229 symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override;
230 uint64_t getRelocationType(DataRefImpl Rel) const override;
231 void getRelocationTypeName(DataRefImpl Rel,
239 const Elf_Shdr *getRelSection(DataRefImpl Rel) const { in getRelSection() argument
240 return *EF.getSection(Rel.d.a); in getRelSection()
304 const Elf_Rel *getRel(DataRefImpl Rel) const;
318 ErrorOr<int64_t> getRelocationAddend(DataRefImpl Rel) const override;
[all …]
HDMachO.h233 void moveRelocationNext(DataRefImpl &Rel) const override;
234 uint64_t getRelocationOffset(DataRefImpl Rel) const override;
235 symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override;
236 section_iterator getRelocationSection(DataRefImpl Rel) const;
237 uint64_t getRelocationType(DataRefImpl Rel) const override;
238 void getRelocationTypeName(DataRefImpl Rel,
240 uint8_t getRelocationLength(DataRefImpl Rel) const;
245 section_iterator getRelocationRelocatedSection(relocation_iterator Rel) const;
381 MachO::any_relocation_info getRelocation(DataRefImpl Rel) const;
382 MachO::data_in_code_entry getDice(DataRefImpl Rel) const;
HDObjectFile.h229 virtual void moveRelocationNext(DataRefImpl &Rel) const = 0;
230 virtual uint64_t getRelocationOffset(DataRefImpl Rel) const = 0;
231 virtual symbol_iterator getRelocationSymbol(DataRefImpl Rel) const = 0;
232 virtual uint64_t getRelocationType(DataRefImpl Rel) const = 0;
233 virtual void getRelocationTypeName(DataRefImpl Rel,
HDCOFF.h578 const coff_relocation *toRel(DataRefImpl Rel) const;
673 void moveRelocationNext(DataRefImpl &Rel) const override;
674 uint64_t getRelocationOffset(DataRefImpl Rel) const override;
675 symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override;
676 uint64_t getRelocationType(DataRefImpl Rel) const override;
677 void getRelocationTypeName(DataRefImpl Rel,
HDCOFFYAML.h167 static void mapping(IO &IO, COFFYAML::Relocation &Rel); in LLVM_YAML_IS_SEQUENCE_VECTOR()
HDELF.h261 getRelocationSymbol(const Elf_Shdr *RelSec, const RelT *Rel) const;
542 ELFFile<ELFT>::getRelocationSymbol(const Elf_Shdr *Sec, const RelT *Rel) const { in getRelocationSymbol() argument
550 SymTable, getEntry<Elf_Sym>(SymTable, Rel->getSymbol(isMips64EL()))); in getRelocationSymbol()
/NextBSD/contrib/llvm/tools/llvm-objdump/
HDllvm-objdump.cpp304 DataRefImpl Rel, in getRelocationValueString() argument
313 ErrorOr<const Elf_Shdr *> SecOrErr = EF.getSection(Rel.d.a); in getRelocationValueString()
338 const Elf_Rel *ERel = Obj->getRel(Rel); in getRelocationValueString()
345 const Elf_Rela *ERela = Obj->getRela(Rel); in getRelocationValueString()
423 DataRefImpl Rel = RelRef.getRawDataRefImpl(); in getRelocationValueString() local
425 return getRelocationValueString(ELF32LE, Rel, Result); in getRelocationValueString()
427 return getRelocationValueString(ELF64LE, Rel, Result); in getRelocationValueString()
429 return getRelocationValueString(ELF32BE, Rel, Result); in getRelocationValueString()
431 return getRelocationValueString(ELF64BE, Rel, Result); in getRelocationValueString()
435 const RelocationRef &Rel, in getRelocationValueString() argument
[all …]
HDMachODump.cpp782 DataRefImpl Rel; in DumpLiteralPointerSection() local
785 Rel = Reloc.getRawDataRefImpl(); in DumpLiteralPointerSection()
786 RE = O->getRelocation(Rel); in DumpLiteralPointerSection()
1743 DataRefImpl Rel; in SymbolizerGetOpInfo() local
1752 Rel = Reloc.getRawDataRefImpl(); in SymbolizerGetOpInfo()
1753 RE = info->O->getRelocation(Rel); in SymbolizerGetOpInfo()
1760 DataRefImpl RelNext = Rel; in SymbolizerGetOpInfo()
1823 DataRefImpl Rel; in SymbolizerGetOpInfo() local
1830 Rel = Reloc.getRawDataRefImpl(); in SymbolizerGetOpInfo()
1831 RE = info->O->getRelocation(Rel); in SymbolizerGetOpInfo()
[all …]
/NextBSD/contrib/llvm/lib/MC/
HDMachObjectWriter.cpp592 for (RelAndSymbol &Rel : Relocations[&Section]) { in computeSymbolTable()
593 if (!Rel.Sym) in computeSymbolTable()
597 unsigned Index = Rel.Sym->getIndex(); in computeSymbolTable()
600 Rel.MRE.r_word1 = (Rel.MRE.r_word1 & (~0U << 24)) | Index | (1 << 27); in computeSymbolTable()
602 Rel.MRE.r_word1 = (Rel.MRE.r_word1 & 0xff) | Index << 8 | (1 << 4); in computeSymbolTable()
878 for (const RelAndSymbol &Rel : make_range(Relocs.rbegin(), Relocs.rend())) { in writeObject() local
879 write32(Rel.MRE.r_word0); in writeObject()
880 write32(Rel.MRE.r_word1); in writeObject()
/NextBSD/contrib/llvm/lib/Object/
HDMachOObjectFile.cpp581 void MachOObjectFile::moveRelocationNext(DataRefImpl &Rel) const { in moveRelocationNext()
582 ++Rel.d.b; in moveRelocationNext()
585 uint64_t MachOObjectFile::getRelocationOffset(DataRefImpl Rel) const { in getRelocationOffset()
588 MachO::any_relocation_info RE = getRelocation(Rel); in getRelocationOffset()
593 MachOObjectFile::getRelocationSymbol(DataRefImpl Rel) const { in getRelocationSymbol()
594 MachO::any_relocation_info RE = getRelocation(Rel); in getRelocationSymbol()
614 MachOObjectFile::getRelocationSection(DataRefImpl Rel) const { in getRelocationSection()
615 return section_iterator(getAnyRelocationSection(getRelocation(Rel))); in getRelocationSection()
618 uint64_t MachOObjectFile::getRelocationType(DataRefImpl Rel) const { in getRelocationType()
619 MachO::any_relocation_info RE = getRelocation(Rel); in getRelocationType()
[all …]
HDCOFFObjectFile.cpp947 const coff_relocation *COFFObjectFile::toRel(DataRefImpl Rel) const { in toRel()
948 return reinterpret_cast<const coff_relocation*>(Rel.p); in toRel()
951 void COFFObjectFile::moveRelocationNext(DataRefImpl &Rel) const { in moveRelocationNext()
952 Rel.p = reinterpret_cast<uintptr_t>( in moveRelocationNext()
953 reinterpret_cast<const coff_relocation*>(Rel.p) + 1); in moveRelocationNext()
956 uint64_t COFFObjectFile::getRelocationOffset(DataRefImpl Rel) const { in getRelocationOffset()
957 const coff_relocation *R = toRel(Rel); in getRelocationOffset()
961 symbol_iterator COFFObjectFile::getRelocationSymbol(DataRefImpl Rel) const { in getRelocationSymbol()
962 const coff_relocation *R = toRel(Rel); in getRelocationSymbol()
975 uint64_t COFFObjectFile::getRelocationType(DataRefImpl Rel) const { in getRelocationType()
[all …]
HDCOFFYAML.cpp341 COFFYAML::Relocation &Rel) { in mapping() argument
342 IO.mapRequired("VirtualAddress", Rel.VirtualAddress); in mapping()
343 IO.mapRequired("SymbolName", Rel.SymbolName); in mapping()
348 IO, Rel.Type); in mapping()
352 IO, Rel.Type); in mapping()
355 IO.mapRequired("Type", Rel.Type); in mapping()
HDELFYAML.cpp739 ELFYAML::Relocation &Rel) { in mapping() argument
743 IO.mapRequired("Offset", Rel.Offset); in mapping()
744 IO.mapRequired("Symbol", Rel.Symbol); in mapping()
749 IO, Rel.Type); in mapping()
755 IO.mapRequired("Type", Rel.Type); in mapping()
757 IO.mapOptional("Addend", Rel.Addend, (int64_t)0); in mapping()
/NextBSD/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/
HDRuntimeDyldELF.h92 RelocationValueRef &Rel);
95 RelocationValueRef &Rel);
HDRuntimeDyldELF.cpp766 RelocationValueRef &Rel) { in findPPC64TOCSection() argument
772 Rel.SymbolName = NULL; in findPPC64TOCSection()
773 Rel.SectionID = 0; in findPPC64TOCSection()
785 Rel.SectionID = findOrEmitSection(Obj, Section, false, LocalSections); in findPPC64TOCSection()
792 Rel.Addend = 0x8000; in findPPC64TOCSection()
799 RelocationValueRef &Rel) { in findOPDEntrySection() argument
842 if (Rel.Addend != (int64_t)TargetSymbolOffset) in findOPDEntrySection()
848 Rel.SectionID = findOrEmitSection(Obj, (*tsi), IsCode, LocalSections); in findOPDEntrySection()
849 Rel.Addend = (intptr_t)Addend; in findOPDEntrySection()
/NextBSD/contrib/llvm/lib/MC/MCDisassembler/
HDMCRelocationInfo.cpp25 MCRelocationInfo::createExprForRelocation(object::RelocationRef Rel) { in createExprForRelocation() argument
/NextBSD/contrib/llvm/include/llvm/MC/
HDMCRelocationInfo.h43 virtual const MCExpr *createExprForRelocation(object::RelocationRef Rel);
/NextBSD/contrib/llvm/tools/llvm-readobj/
HDELFDumper.cpp76 void printRelocation(const Elf_Shdr *Sec, typename ELFO::Elf_Rela Rel);
747 typename ELFO::Elf_Rela Rel) { in printRelocation() argument
749 Obj->getRelocationTypeName(Rel.getType(Obj->isMips64EL()), RelocName); in printRelocation()
752 Obj->getRelocationSymbol(Sec, &Rel); in printRelocation()
772 W.printHex("Offset", Rel.r_offset); in printRelocation()
773 W.printNumber("Type", RelocName, (int)Rel.getType(Obj->isMips64EL())); in printRelocation()
775 Rel.getSymbol(Obj->isMips64EL())); in printRelocation()
776 W.printHex("Addend", Rel.r_addend); in printRelocation()
779 OS << W.hex(Rel.r_offset) << " " << RelocName << " " in printRelocation()
781 << W.hex(Rel.r_addend) << "\n"; in printRelocation()
/NextBSD/sys/sys/
HDelf_generic.h67 __ElfType(Rel);
/NextBSD/contrib/llvm/tools/clang/lib/Basic/
HDFileManager.cpp527 StringRef Rel = path::relative_path(P); in removeDotPaths() local
529 for (StringRef C : llvm::make_range(path::begin(Rel), path::end(Rel))) { in removeDotPaths()
/NextBSD/contrib/elftoolchain/libelf/
HDlibelf_align.c74 [ELF_T_REL] = MALIGN(Rel),
/NextBSD/sys/cddl/compat/opensolaris/sys/
HDelf.h41 __sElfN(Rel);
/NextBSD/libexec/bootpd/
HDAnnounce52 System V/386 Rel. 4.0

12