Searched refs:Rel (Results 1 - 25 of 52) sorted by relevance

123

/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DWasmDump.cpp34 const wasm::WasmRelocation &Rel = Obj->getWasmRelocation(RelRef); local
41 Fmt << Rel.Index;
49 Fmt << (Rel.Addend < 0 ? "" : "+") << Rel.Addend;
H A DCOFFDump.h27 const object::RelocationRef &Rel,
H A DELFDump.h28 const object::RelocationRef &Rel,
H A DXCOFFDump.cpp23 const RelocationRef &Rel,
25 symbol_iterator SymI = Rel.getSymbol();
22 getXCOFFRelocationValueString(const XCOFFObjectFile *Obj, const RelocationRef &Rel, SmallVectorImpl<char> &Result) argument
H A DELFDump.cpp60 DataRefImpl Rel = RelRef.getRawDataRefImpl(); local
61 auto SecOrErr = EF.getSection(Rel.d.a);
74 const typename ELFT::Rela *ERela = Obj->getRela(Rel);
123 const RelocationRef &Rel,
126 return getRelocationValueString(ELF32LE, Rel, Result);
128 return getRelocationValueString(ELF64LE, Rel, Result);
130 return getRelocationValueString(ELF32BE, Rel, Result);
132 return getRelocationValueString(ELF64BE, Rel, Result);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Index/
H A DIndexingContext.cpp352 for (auto &Rel : Relations) {
353 if (acceptForRelation(Rel.Roles))
422 auto addRelation = [&](SymbolRelation Rel) {
424 return Elem.RelatedSymbol == Rel.RelatedSymbol;
427 It->Roles |= Rel.Roles;
429 FinalRelations.push_back(Rel);
431 Roles |= Rel.Roles;
448 for (auto &Rel : Relations) {
449 addRelation(SymbolRelation(Rel.Roles,
450 Rel
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Object/
H A DELFObjectFile.h66 virtual Expected<int64_t> getRelocationAddend(DataRefImpl Rel) const = 0;
238 using Elf_Rel = typename ELFT::Rel;
295 void moveRelocationNext(DataRefImpl &Rel) const override;
296 uint64_t getRelocationOffset(DataRefImpl Rel) const override;
297 symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override;
298 uint64_t getRelocationType(DataRefImpl Rel) const override;
299 void getRelocationTypeName(DataRefImpl Rel,
307 /// Get the relocation section that contains \a Rel.
308 const Elf_Shdr *getRelSection(DataRefImpl Rel) const {
309 auto RelSecOrErr = EF.getSection(Rel
937 getRelocationTypeName( DataRefImpl Rel, SmallVectorImpl<char> &Result) const argument
[all...]
H A DXCOFFObjectFile.h300 void moveRelocationNext(DataRefImpl &Rel) const override;
305 uint64_t getRelocationOffset(DataRefImpl Rel) const override;
306 symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override;
307 uint64_t getRelocationType(DataRefImpl Rel) const override;
308 void getRelocationTypeName(DataRefImpl Rel,
H A DWasm.h191 void moveRelocationNext(DataRefImpl &Rel) const override;
192 uint64_t getRelocationOffset(DataRefImpl Rel) const override;
193 symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override;
194 uint64_t getRelocationType(DataRefImpl Rel) const override;
195 void getRelocationTypeName(DataRefImpl Rel,
H A DMachO.h335 void moveRelocationNext(DataRefImpl &Rel) const override;
336 uint64_t getRelocationOffset(DataRefImpl Rel) const override;
337 symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override;
338 section_iterator getRelocationSection(DataRefImpl Rel) const;
339 uint64_t getRelocationType(DataRefImpl Rel) const override;
340 void getRelocationTypeName(DataRefImpl Rel,
342 uint8_t getRelocationLength(DataRefImpl Rel) const;
348 section_iterator getRelocationRelocatedSection(relocation_iterator Rel) const;
544 MachO::any_relocation_info getRelocation(DataRefImpl Rel) const;
545 MachO::data_in_code_entry getDice(DataRefImpl Rel) cons
[all...]
H A DObjectFile.h284 virtual void moveRelocationNext(DataRefImpl &Rel) const = 0;
285 virtual uint64_t getRelocationOffset(DataRefImpl Rel) const = 0;
286 virtual symbol_iterator getRelocationSymbol(DataRefImpl Rel) const = 0;
287 virtual uint64_t getRelocationType(DataRefImpl Rel) const = 0;
288 virtual void getRelocationTypeName(DataRefImpl Rel,
H A DCOFF.h797 const coff_relocation *toRel(DataRefImpl Rel) const;
929 void moveRelocationNext(DataRefImpl &Rel) const override;
930 uint64_t getRelocationOffset(DataRefImpl Rel) const override;
931 symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override;
932 uint64_t getRelocationType(DataRefImpl Rel) const override;
933 void getRelocationTypeName(DataRefImpl Rel,
/freebsd-13-stable/sys/sys/
H A Delf_generic.h69 __ElfType(Rel); variable
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Object/
H A DXCOFFObjectFile.cpp343 void XCOFFObjectFile::moveRelocationNext(DataRefImpl &Rel) const {
344 Rel.p = reinterpret_cast<uintptr_t>(viewAs<XCOFFRelocation32>(Rel.p) + 1);
347 uint64_t XCOFFObjectFile::getRelocationOffset(DataRefImpl Rel) const {
350 const XCOFFRelocation32 *Reloc = viewAs<XCOFFRelocation32>(Rel.p);
366 symbol_iterator XCOFFObjectFile::getRelocationSymbol(DataRefImpl Rel) const {
369 const XCOFFRelocation32 *Reloc = viewAs<XCOFFRelocation32>(Rel.p);
380 uint64_t XCOFFObjectFile::getRelocationType(DataRefImpl Rel) const {
383 return viewAs<XCOFFRelocation32>(Rel.p)->Type;
387 DataRefImpl Rel, SmallVectorImp
386 getRelocationTypeName( DataRefImpl Rel, SmallVectorImpl<char> &Result) const argument
[all...]
H A DRelocationResolver.cpp346 uint32_t Rel = R.getType(); local
347 if (Rel == ELF::R_MIPS_32)
349 if (Rel == ELF::R_MIPS_TLS_DTPREL32)
365 uint32_t Rel = R.getType(); local
366 if (Rel == ELF::R_SPARC_32 || Rel == ELF::R_SPARC_UA32)
H A DCOFFObjectFile.cpp1101 const coff_relocation *COFFObjectFile::toRel(DataRefImpl Rel) const {
1102 return reinterpret_cast<const coff_relocation*>(Rel.p);
1105 void COFFObjectFile::moveRelocationNext(DataRefImpl &Rel) const {
1106 Rel.p = reinterpret_cast<uintptr_t>(
1107 reinterpret_cast<const coff_relocation*>(Rel.p) + 1);
1110 uint64_t COFFObjectFile::getRelocationOffset(DataRefImpl Rel) const {
1111 const coff_relocation *R = toRel(Rel);
1115 symbol_iterator COFFObjectFile::getRelocationSymbol(DataRefImpl Rel) const {
1116 const coff_relocation *R = toRel(Rel);
1129 uint64_t COFFObjectFile::getRelocationType(DataRefImpl Rel) cons
1262 getRelocationTypeName( DataRefImpl Rel, SmallVectorImpl<char> &Result) const argument
[all...]
/freebsd-13-stable/contrib/elftoolchain/libelf/
H A Dlibelf_align.c74 [ELF_T_REL] = MALIGN(Rel),
/freebsd-13-stable/sys/cddl/compat/opensolaris/sys/
H A Delf.h41 __sElfN(Rel); variable
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCOFFYAML.cpp410 COFFYAML::Relocation &Rel) {
411 IO.mapRequired("VirtualAddress", Rel.VirtualAddress);
412 IO.mapOptional("SymbolName", Rel.SymbolName, StringRef());
413 IO.mapOptional("SymbolTableIndex", Rel.SymbolTableIndex);
418 IO, Rel.Type);
422 IO, Rel.Type);
426 IO, Rel.Type);
430 IO, Rel.Type);
433 IO.mapRequired("Type", Rel.Type);
409 mapping(IO &IO, COFFYAML::Relocation &Rel) argument
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldELF.h93 RelocationValueRef &Rel);
96 RelocationValueRef &Rel);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/
H A DMachObjectWriter.cpp627 for (RelAndSymbol &Rel : Relocations[&Section]) {
628 if (!Rel.Sym)
632 unsigned Index = Rel.Sym->getIndex();
635 Rel.MRE.r_word1 = (Rel.MRE.r_word1 & (~0U << 24)) | Index | (1 << 27);
637 Rel.MRE.r_word1 = (Rel.MRE.r_word1 & 0xff) | Index << 8 | (1 << 4);
968 for (const RelAndSymbol &Rel : make_range(Relocs.rbegin(), Relocs.rend())) {
969 W.write<uint32_t>(Rel.MRE.r_word0);
970 W.write<uint32_t>(Rel
[all...]
H A DWasmObjectWriter.cpp180 raw_ostream &operator<<(raw_ostream &OS, const WasmRelocationEntry &Rel) { argument
181 Rel.print(OS);
1597 auto HandleReloc = [&](const WasmRelocationEntry &Rel) {
1601 if (Rel.Type != wasm::R_WASM_TABLE_INDEX_I32 &&
1602 Rel.Type != wasm::R_WASM_TABLE_INDEX_SLEB &&
1603 Rel.Type != wasm::R_WASM_TABLE_INDEX_REL_SLEB)
1605 assert(Rel.Symbol->isFunction());
1607 cast<MCSymbolWasm>(Layout.getBaseSymbol(*Rel.Symbol));
/freebsd-13-stable/contrib/llvm-project/lld/ELF/
H A DRelocations.h190 static inline int64_t getAddend(const typename ELFT::Rel &rel) {
H A DMarkLive.cpp78 const typename ELFT::Rel &rel) {
281 for (const typename ELFT::Rel &rel : sec.template rels<ELFT>())
H A DInputSection.h169 template <class ELFT> ArrayRef<typename ELFT::Rel> rels() const {
172 static_cast<const typename ELFT::Rel *>(firstRelocation),

Completed in 236 milliseconds

123