Searched refs:Relocations (Results 1 - 25 of 44) sorted by relevance

12

/freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/
H A DWinCOFFObjectWriter.cpp85 int Relocations = 0; member in class:__anon3739::COFFSymbol
120 relocations Relocations; member in class:__anon3739::COFFSection
579 if (Section->Relocations.size() >= 0xffff)
645 if (Sec.Relocations.empty()) {
654 if (Sec.Relocations.size() >= 0xffff) {
658 R.VirtualAddress = Sec.Relocations.size() + 1;
664 for (const auto &Relocation : Sec.Relocations)
785 ++Reloc.Symb->Relocations;
842 Sec->Relocations.push_back(Reloc);
970 if (!Sec->Relocations
[all...]
H A DELFObjectWriter.cpp235 DenseMap<const MCSectionELF *, std::vector<ELFRelocationEntry>> Relocations; member in class:__anon3711::ELFObjectWriter
254 Relocations.clear();
784 if (OWriter.Relocations[&Sec].empty())
917 std::vector<ELFRelocationEntry> &Relocs = OWriter.Relocations[&Sec];
1088 std::vector<MCSectionELF *> Relocations; local
1128 Relocations.push_back(RelSection);
1176 for (MCSectionELF *RelSection : Relocations) {
1493 Relocations[&FixupSection].push_back(Rec);
1508 Relocations[&FixupSection].push_back(Rec);
H A DXCOFFObjectWriter.cpp83 SmallVector<XCOFFRelocation, 1> Relocations; member in struct:__anon3740::ControlSection
445 SectionMap[RelocationSec]->Relocations.push_back(Reloc);
469 SectionMap[RelocationSec]->Relocations.push_back(RelocB);
697 for (const auto Reloc : Csect.Relocations)
744 const size_t CsectRelocCount = Csect.Relocations.size();
H A DWasmObjectWriter.cpp225 // Relocations for fixing up references in the code section.
227 // Relocations for fixing up references in the data section.
248 // Relocations for fixing up references in the custom sections.
341 std::vector<WasmRelocationEntry> &Relocations);
355 void applyRelocations(ArrayRef<WasmRelocationEntry> Relocations,
662 ArrayRef<WasmRelocationEntry> Relocations, uint64_t ContentsOffset,
665 for (const WasmRelocationEntry &RelEntry : Relocations) {
998 auto &Relocations = CustomSectionsRelocations[Sec.Section]; local
999 writeRelocSection(Sec.OutputIndex, Sec.Name, Relocations);
1103 auto &Relocations local
661 applyRelocations( ArrayRef<WasmRelocationEntry> Relocations, uint64_t ContentsOffset, const MCAsmLayout &Layout) argument
[all...]
H A DMachObjectWriter.cpp46 Relocations.clear();
627 for (RelAndSymbol &Rel : Relocations[&Section]) {
853 std::vector<RelAndSymbol> &Relocs = Relocations[&Sec];
967 std::vector<RelAndSymbol> &Relocs = Relocations[&Sec];
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DELF_x86_64.cpp221 auto Relocations = Obj.relas(&SecRef);
222 if (!Relocations)
223 return Relocations.takeError();
225 for (const auto &Rela : *Relocations) {
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/
H A DMachOReader.cpp98 S.Relocations.reserve(S.NReloc);
107 S.Relocations.push_back(R);
110 assert(S.NReloc == S.Relocations.size() &&
217 for (auto &Reloc : Sec->Relocations)
H A DMachOLayoutBuilder.cpp210 Sec->RelOff = Sec->Relocations.empty() ? 0 : Offset;
211 Sec->NReloc = Sec->Relocations.size();
H A DObject.cpp98 for (const RelocationInfo &R : Sec->Relocations)
H A DObject.h56 std::vector<RelocationInfo> Relocations; member in struct:llvm::objcopy::macho::Section
H A DMachOWriter.cpp250 for (size_t Index = 0; Index < Sec->Relocations.size(); ++Index) {
251 RelocationInfo RelocInfo = Sec->Relocations[Index];
/freebsd-13-stable/contrib/llvm-project/lld/lib/ReaderWriter/MachO/
H A DArchHandler.h194 normalized::Relocations&) = 0;
308 static void appendReloc(normalized::Relocations &relocs, uint32_t offset,
H A DMachONormalizedFile.h97 typedef std::vector<Relocation> Relocations; typedef in namespace:lld::mach_o::normalized
124 Relocations relocations;
H A DArchHandler.cpp115 void ArchHandler::appendReloc(normalized::Relocations &relocs, uint32_t offset,
H A DArchHandler_x86.cpp121 normalized::Relocations &relocs) override;
558 normalized::Relocations &relocs) {
H A DMachONormalizedFileYAML.cpp78 // A vector of Relocations is a sequence.
80 struct SequenceTraits< Relocations > {
81 static size_t size(IO &io, Relocations &seq) {
84 static Relocation& element(IO &io, Relocations &seq, size_t index) {
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCMachObjectWriter.h108 DenseMap<const MCSection *, std::vector<RelAndSymbol>> Relocations; member in class:llvm::MachObjectWriter
233 Relocations[Sec].push_back(P);
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objdump/
H A Dllvm-objdump.h44 extern cl::opt<bool> Relocations;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCOFFEmitter.cpp261 if (!S.Relocations.empty()) {
267 S.Header.NumberOfRelocations = S.Relocations.size();
268 CurrentSectionDataOffset += S.Relocations.size() * COFF::RelocationSize;
513 OS << binary_le<uint32_t>(/*VirtualAddress=*/ S.Relocations.size() + 1)
516 for (const COFFYAML::Relocation &R : S.Relocations) {
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-readobj/
H A Dllvm-readobj.cpp122 cl::opt<bool> Relocations("relocations",
125 cl::aliasopt(Relocations), cl::NotHidden);
127 cl::aliasopt(Relocations));
480 if (opts::Relocations)
698 opts::Relocations = true; member in class:opts
H A DXCOFFDumper.cpp129 ListScope LS(W, "Relocations");
137 auto Relocations = unwrapOrError(Obj.getFileName(), Obj.relocations(Sec)); local
138 if (Relocations.empty())
143 for (auto Reloc : Relocations) {
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DCOFFYAML.h77 std::vector<Relocation> Relocations; member in struct:llvm::COFFYAML::Section
/freebsd-13-stable/usr.bin/clang/lld/
H A DMakefile67 SRCS+= ELF/Relocations.cpp
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp145 for (auto it = Relocations.begin(), e = Relocations.end(); it != e; ++it) {
155 Relocations.clear();
925 Relocations[SectionID].push_back(RE);
943 Relocations[SymInfo.getSectionID()].push_back(RECopy);
1059 // a remote execution environment of some sort. Relocations can't
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/ELF/
H A DObject.cpp107 Sec.Size = Sec.Relocations.size() * Sec.EntrySize;
821 for (const Relocation &R : Relocations) {
872 static void writeRel(const RelRange &Relocations, T *Buf) { argument
873 for (const auto &Reloc : Relocations) {
886 writeRel(Sec.Relocations, reinterpret_cast<Elf_Rel *>(Buf));
888 writeRel(Sec.Relocations, reinterpret_cast<Elf_Rela *>(Buf));
901 for (const Relocation &Reloc : Relocations)
911 for (const Relocation &Reloc : Relocations)

Completed in 406 milliseconds

12