Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/lld/ELF/
H A DDWARF.cpp109 partition_point(rels, [=](const RelTy &a) { return a.r_offset < pos; }); in findAux()
110 if (it == rels.end() || it->r_offset != pos) in findAux()
H A DRelocations.h206 return a.r_offset < b.r_offset; in sortRels()
H A DInputSection.cpp361 p->r_offset = sec->getVA(rel.r_offset); in copyRelocations()
387 "\n>>> referenced by " + getObjMsg(p->r_offset)); in copyRelocations()
399 const uint8_t *bufLoc = sec->rawData.begin() + rel.r_offset; in copyRelocations()
422 sec->relocations.push_back({R_ABS, type, rel.r_offset, addend, &sym}); in copyRelocations()
841 uint64_t offset = rel.r_offset; in relocateNonAlloc()
1271 if (rel.r_offset < begin) in getReloc()
1274 if (rel.r_offset < begin + size) in getReloc()
H A DSyntheticSections.cpp1692 r_offset = getOffset(); in computeRaw()
1708 [&](auto &a, auto &b) { return a.r_offset < b.r_offset; }); in computeRels()
1711 return std::tie(a.r_sym, a.r_offset) < std::tie(b.r_sym, b.r_offset); in computeRels()
1728 p->r_offset = rel.r_offset; in writeTo()
1828 return a.r_offset < b.r_offset; in updateAllocSize()
1843 } while (i != e && (i - 1)->r_offset + config->wordsize == i->r_offset); in updateAllocSize()
1899 return a.r_offset < b.r_offset; in updateAllocSize()
1938 offset = g.back().r_offset; in updateAllocSize()
1948 offset = r.r_offset; in updateAllocSize()
1963 offset = r.r_offset; in updateAllocSize()
[all …]
H A DMarkLive.cpp78 return target->getImplicitAddend(sec.rawData.begin() + rel.r_offset, in getAddend()
161 j < end2 && rels[j].r_offset < pieceEnd; ++j) in scanEhFrameSection()
H A DICF.cpp243 if (ra[i].r_offset != rb[i].r_offset || in constantEq()
H A DRelocations.cpp489 return target.getImplicitAddend(buf + ri->r_offset, pairTy); in computeMipsAddend()
509 addend = target.getImplicitAddend(buf + rel.r_offset, type); in computeAddend()
858 uint64_t offset = rel->r_offset; in getMipsN32RelType()
861 while (rel != static_cast<const RelTy *>(end) && rel->r_offset == offset) in getMipsN32RelType()
1309 uint64_t offset = getter.get(rel.r_offset); in scanOne()
H A DSyntheticSections.h482 uint64_t r_offset; variable
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.h306 elf_addr r_offset; ///< Address of reference. member
347 elf_addr r_offset; ///< Address of reference. member
H A DELFHeader.cpp418 return GetMaxU64(data, offset, &r_offset, byte_size, 2) != false; in Parse()
430 if (!GetMaxU64(data, offset, &r_offset, byte_size, 2)) in Parse()
H A DObjectFileELF.cpp187 return rel.reloc.get<ELFRel *>()->r_offset; in RelocOffset32()
189 return rel.reloc.get<ELFRela *>()->r_offset; in RelocOffset32()
194 return rel.reloc.get<ELFRel *>()->r_offset; in RelocOffset64()
196 return rel.reloc.get<ELFRela *>()->r_offset; in RelocOffset64()
/llvm-project-15.0.7/lld/test/ELF/
H A Deh-frame-unordered-r_offset.s8 ## If we swap two input .eh_frame, the r_offset values in relocations will be
H A Dcombreloc.s11 # -z combreloc is the default: sort relocations by (!IsRelative,SymIndex,r_offset),
/llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/
H A DELF.h1261 Elf32_Addr r_offset; // Location (file byte offset, or program virtual addr) member
1277 Elf32_Addr r_offset; // Location (file byte offset, or program virtual addr) member
1297 Elf64_Addr r_offset; // Location (file byte offset, or program virtual addr). member
1313 Elf64_Addr r_offset; // Location (file byte offset, or program virtual addr). member
/llvm-project-15.0.7/compiler-rt/lib/hwasan/
H A Dhwasan_dynamic_shadow.cpp99 ElfW(Addr)* offset = reinterpret_cast<ElfW(Addr)*>(r->r_offset); in InitShadowGOT()
/llvm-project-15.0.7/llvm/lib/Object/
H A DELF.cpp357 Rel.r_offset = Entry; in decode_relrs()
365 Rel.r_offset = Offset; in decode_relrs()
430 R.r_offset = Offset; in android_relas()
/llvm-project-15.0.7/llvm/tools/llvm-readobj/
H A DARMEHABIPrinter.h416 if (R.r_offset != static_cast<unsigned>(IndexTableOffset)) in FindExceptionTable()
420 RelA.r_offset = R.r_offset; in FindExceptionTable()
/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_allocator.cpp453 sptr l_offset = 0, r_offset = 0; in ChooseChunk() local
455 CHECK(AsanChunkView(right_chunk).AddrIsAtLeft(addr, 1, &r_offset)); in ChooseChunk()
456 if (l_offset < r_offset) in ChooseChunk()
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DELFTypes.h387 Elf_Addr r_offset; // Location (file byte offset, or program virtual addr)
430 Elf_Addr r_offset; // Location (file byte offset, or program virtual addr)
H A DELFObjectFile.h1035 return getRel(Rel)->r_offset; in getRelocationOffset()
1037 return getRela(Rel)->r_offset; in getRelocationOffset()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/
H A DELF_x86_64.cpp241 auto FixupAddress = orc::ExecutorAddr(FixupSection.sh_addr) + Rel.r_offset; in addSingleRelocation()
H A DELF_aarch64.cpp166 orc::ExecutorAddr(FixupSect.sh_addr) + Rel.r_offset; in addSingleRelocation()
H A DELF_riscv.cpp535 auto FixupAddress = orc::ExecutorAddr(FixupSect.sh_addr) + Rel.r_offset; in addSingleRelocation()
/llvm-project-15.0.7/lld/ELF/Arch/
H A DPPC64.cpp292 if (relas[index].r_offset == offset) { in getRelaTocSymAndAddend()
296 if (relas[index].r_offset < offset || index == 0) in getRelaTocSymAndAddend()
/llvm-project-15.0.7/llvm/lib/ObjectYAML/
H A DELFEmitter.cpp1287 REntry.r_offset = Rel.Offset; in writeSectionContent()
1294 REntry.r_offset = Rel.Offset; in writeSectionContent()

12