Home
last modified time | relevance | path

Searched refs:Relocations (Results 1 – 25 of 56) sorted by relevance

123

/freebsd-12-stable/contrib/llvm-project/llvm/lib/MC/
DWinCOFFObjectWriter.cpp85 int Relocations = 0; member in __anon36324ec70111::COFFSymbol
120 relocations Relocations; member in __anon36324ec70111::COFFSection
580 if (Section->Relocations.size() >= 0xffff) in writeSectionHeaders()
646 if (Sec.Relocations.empty()) { in writeSection()
655 if (Sec.Relocations.size() >= 0xffff) { in writeSection()
659 R.VirtualAddress = Sec.Relocations.size() + 1; in writeSection()
665 for (const auto &Relocation : Sec.Relocations) in writeSection()
786 ++Reloc.Symb->Relocations; in recordRelocation()
847 Sec->Relocations.push_back(Reloc); in recordRelocation()
976 if (!Sec->Relocations.empty()) { in assignFileOffsets()
[all …]
DXCOFFObjectWriter.cpp84 SmallVector<XCOFFRelocation, 1> Relocations; member
508 SectionMap[RelocationSec]->Relocations.push_back(Reloc); in recordRelocation()
532 SectionMap[RelocationSec]->Relocations.push_back(RelocB); in recordRelocation()
763 for (const auto Reloc : Csect.Relocations) in writeRelocations()
835 const size_t CsectRelocCount = Csect.Relocations.size(); in finalizeSectionInfo()
DELFObjectWriter.cpp221 DenseMap<const MCSectionELF *, std::vector<ELFRelocationEntry>> Relocations; member in __anon13f08b920111::ELFObjectWriter
242 Relocations.clear(); in reset()
785 if (OWriter.Relocations[&Sec].empty()) in createRelocationSection()
919 std::vector<ELFRelocationEntry> &Relocs = OWriter.Relocations[&Sec]; in writeRelocations()
1089 std::vector<MCSectionELF *> Relocations; in writeObject() local
1127 Relocations.push_back(RelSection); in writeObject()
1165 for (MCSectionELF *RelSection : Relocations) { in writeObject()
1479 Relocations[&FixupSection].push_back(Rec); in recordRelocation()
1494 Relocations[&FixupSection].push_back(Rec); in recordRelocation()
DWasmObjectWriter.cpp324 std::vector<WasmRelocationEntry> &Relocations);
335 void applyRelocations(ArrayRef<WasmRelocationEntry> Relocations,
714 ArrayRef<WasmRelocationEntry> Relocations, uint64_t ContentsOffset, in applyRelocations() argument
717 for (const WasmRelocationEntry &RelEntry : Relocations) { in applyRelocations()
1094 auto &Relocations = CustomSectionsRelocations[Sec.Section]; in writeCustomRelocSections() local
1095 writeRelocSection(Sec.OutputIndex, Sec.Name, Relocations); in writeCustomRelocSections()
1200 auto &Relocations = CustomSectionsRelocations[CustomSection.Section]; in writeCustomSection() local
1201 applyRelocations(Relocations, CustomSection.OutputContentsOffset, Layout); in writeCustomSection()
DMachObjectWriter.cpp46 Relocations.clear(); in reset()
627 for (RelAndSymbol &Rel : Relocations[&Section]) { in computeSymbolTable()
853 std::vector<RelAndSymbol> &Relocs = Relocations[&Sec]; in writeObject()
967 std::vector<RelAndSymbol> &Relocs = Relocations[&Sec]; in writeObject()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
DELF_riscv.cpp215 auto Relocations = Base::Obj.relas(SecRef); in addRelocations() local
216 if (!Relocations) in addRelocations()
217 return Relocations.takeError(); in addRelocations()
219 for (const auto &Rela : *Relocations) { in addRelocations()
DELF_x86_64.cpp306 auto Relocations = Obj.relas(SecRef); in addRelocations() local
307 if (!Relocations) in addRelocations()
308 return Relocations.takeError(); in addRelocations()
310 for (const auto &Rela : *Relocations) { in addRelocations()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
DXCOFFEmitter.cpp83 if (!InitSections[I].Relocations.empty()) { in initRelocations()
84 InitSections[I].NumberOfRelocations = InitSections[I].Relocations.size(); in initRelocations()
246 if (!YamlSec.Relocations.empty()) { in writeRelocations()
255 for (const XCOFFYAML::Relocation &YamlRel : YamlSec.Relocations) { in writeRelocations()
DCOFFEmitter.cpp260 if (!S.Relocations.empty()) { in layoutCOFF()
266 S.Header.NumberOfRelocations = S.Relocations.size(); in layoutCOFF()
267 CurrentSectionDataOffset += S.Relocations.size() * COFF::RelocationSize; in layoutCOFF()
512 OS << binary_le<uint32_t>(/*VirtualAddress=*/ S.Relocations.size() + 1) in writeCOFF()
515 for (const COFFYAML::Relocation &R : S.Relocations) { in writeCOFF()
DXCOFFYAML.cpp142 IO.mapOptional("Relocations", Sec.Relocations); in mapping()
DWasmEmitter.cpp577 encodeULEB128(Sec.Relocations.size(), OS); in writeRelocSection()
579 for (auto Reloc : Sec.Relocations) { in writeRelocSection()
661 if (Sec->Relocations.empty()) { in writeWasm()
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/
DMachOReader.cpp94 S.Relocations.reserve(S.NReloc); in extractSections()
107 S.Relocations.push_back(R); in extractSections()
110 assert(S.NReloc == S.Relocations.size() && in extractSections()
228 for (auto &Reloc : Sec->Relocations) in setSymbolInRelocationInfo()
DMachOLayoutBuilder.cpp217 Sec->RelOff = Sec->Relocations.empty() ? 0 : Offset; in layoutRelocations()
218 Sec->NReloc = Sec->Relocations.size(); in layoutRelocations()
DObject.h58 std::vector<RelocationInfo> Relocations; member
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/MC/
DMCMachObjectWriter.h108 DenseMap<const MCSection *, std::vector<RelAndSymbol>> Relocations; variable
235 Relocations[Sec].push_back(P); in addRelocation()
/freebsd-12-stable/contrib/llvm-project/lld/lib/ReaderWriter/MachO/
DArchHandler.h194 normalized::Relocations&) = 0;
308 static void appendReloc(normalized::Relocations &relocs, uint32_t offset,
DMachONormalizedFile.h97 typedef std::vector<Relocation> Relocations; typedef
124 Relocations relocations;
DArchHandler.cpp115 void ArchHandler::appendReloc(normalized::Relocations &relocs, uint32_t offset, in appendReloc()
/freebsd-12-stable/contrib/binutils/bfd/doc/
Dbfd.texinfo184 a set of relocations (@pxref{Relocations}), and
210 * Relocations::
256 @node Formats, Relocations, Archives, BFD front end
259 @node Relocations, Core Files, Formats, BFD front end
262 @node Core Files, Targets, Relocations, BFD front end
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-readobj/
Dllvm-readobj.cpp104 static bool Relocations; variable
207 opts::Relocations = Args.hasArg(OPT_relocs); in parseOptions()
366 if (opts::Relocations) in dumpObject()
583 opts::Relocations = true; in main()
DXCOFFDumper.cpp137 auto Relocations = unwrapOrError(Obj.getFileName(), Obj.relocations(Sec)); in printRelocations() local
138 if (Relocations.empty()) in printRelocations()
143 for (auto Reloc : Relocations) { in printRelocations()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
DXCOFFYAML.h50 std::vector<Relocation> Relocations; member
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyld.cpp145 for (auto it = Relocations.begin(), e = Relocations.end(); it != e; ++it) { in resolveLocalRelocations()
155 Relocations.clear(); in resolveLocalRelocations()
929 Relocations[SectionID].push_back(RE); in addRelocationForSection()
947 Relocations[SymInfo.getSectionID()].push_back(RECopy); in addRelocationForSymbol()
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-objdump/
Dllvm-objdump.h56 extern bool Relocations;
/freebsd-12-stable/usr.bin/clang/lld/
DMakefile69 SRCS+= ELF/Relocations.cpp

123