/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/XCOFF/ |
H A D | XCOFFReader.cpp | 37 auto Relocations = in readSections() local 39 if (!Relocations) in readSections() 40 return Relocations.takeError(); in readSections() 41 for (const XCOFFRelocation32 &Rel : Relocations.get()) in readSections() 42 ReadSec.Relocations.push_back(Rel); in readSections()
|
H A D | XCOFFObject.h | 26 std::vector<XCOFFRelocation32> Relocations; member
|
H A D | XCOFFWriter.cpp | 85 for (const XCOFFRelocation32 &Rel : Sec.Relocations) { in writeSections()
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | WinCOFFObjectWriter.cpp | 81 int Relocations = 0; member in __anon3870acaf0111::COFFSymbol 116 relocations Relocations; member in __anon3870acaf0111::COFFSection 553 if (Section->Relocations.size() >= 0xffff) in writeSectionHeaders() 614 if (Sec.Relocations.empty()) { in writeSection() 623 if (Sec.Relocations.size() >= 0xffff) { in writeSection() 627 R.VirtualAddress = Sec.Relocations.size() + 1; in writeSection() 633 for (const auto &Relocation : Sec.Relocations) in writeSection() 755 if (!Sec->Relocations.empty()) { in assignFileOffsets() 756 bool RelocationsOverflow = Sec->Relocations.size() >= 0xffff; in assignFileOffsets() 763 Sec->Header.NumberOfRelocations = Sec->Relocations.size(); in assignFileOffsets() [all …]
|
H A D | ELFObjectWriter.cpp | 678 if (OWriter.Relocations[&Sec].empty()) in createRelocationSection() 808 std::vector<ELFRelocationEntry> &Relocs = OWriter.Relocations[&Sec]; in writeRelocations() 975 SmallVector<MCSectionELF *> Relocations; in writeObject() local 1012 Relocations.push_back(RelSection); in writeObject() 1051 for (MCSectionELF *RelSection : Relocations) { in writeObject() 1121 Relocations.clear(); in reset() 1412 Relocations[&FixupSection].push_back(Rec); in recordRelocation() 1427 Relocations[&FixupSection].push_back(Rec); in recordRelocation()
|
H A D | XCOFFObjectWriter.cpp | 89 SmallVector<XCOFFRelocation, 1> Relocations; member 784 SectionMap[RelocationSec]->Relocations.push_back(Reloc); in recordRelocation() 808 SectionMap[RelocationSec]->Relocations.push_back(RelocB); in recordRelocation() 1149 for (const auto Reloc : Csect.Relocations) in writeRelocations() 1156 for (const auto &Reloc : DwarfSection.DwarfSect->Relocations) in writeRelocations() 1311 RelCount += Csect.Relocations.size(); in finalizeSectionInfo() 1318 DwarfSection.DwarfSect->Relocations.size()); in finalizeSectionInfo()
|
H A D | WasmObjectWriter.cpp | 204 // Relocations for fixing up references in the code section. 206 // Relocations for fixing up references in the data section. 227 // Relocations for fixing up references in the custom sections. 342 std::vector<WasmRelocationEntry> &Relocations); 353 void applyRelocations(ArrayRef<WasmRelocationEntry> Relocations, 764 ArrayRef<WasmRelocationEntry> Relocations, uint64_t ContentsOffset, in applyRelocations() argument 767 for (const WasmRelocationEntry &RelEntry : Relocations) { in applyRelocations() 1148 auto &Relocations = CustomSectionsRelocations[Sec.Section]; in writeCustomRelocSections() local 1149 writeRelocSection(Sec.OutputIndex, Sec.Name, Relocations); in writeCustomRelocSections() 1253 auto &Relocations in writeCustomSection() local [all...] |
H A D | MachObjectWriter.cpp | 48 Relocations.clear(); in reset() 662 for (RelAndSymbol &Rel : Relocations[&Section]) { in computeSymbolTable() 907 std::vector<RelAndSymbol> &Relocs = Relocations[&Sec]; in writeObject() 1038 std::vector<RelAndSymbol> &Relocs = Relocations[&Sec]; in writeObject()
|
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/ |
H A D | MachOReader.cpp | 96 S.Relocations.reserve(S.NReloc); in extractSections() 109 S.Relocations.push_back(R); in extractSections() 112 assert(S.NReloc == S.Relocations.size() && in extractSections() 256 for (auto &Reloc : Sec->Relocations) in setSymbolInRelocationInfo()
|
H A D | MachOLayoutBuilder.cpp | 218 Sec->RelOff = Sec->Relocations.empty() ? 0 : Offset; in layoutRelocations() 219 Sec->NReloc = Sec->Relocations.size(); in layoutRelocations()
|
H A D | MachOObject.h | 57 std::vector<RelocationInfo> Relocations; member
|
H A D | MachOObject.cpp | 130 for (const RelocationInfo &R : Sec->Relocations) in removeSections()
|
H A D | MachOWriter.cpp | 253 for (size_t Index = 0; Index < Sec->Relocations.size(); ++Index) { in writeSections() 254 RelocationInfo RelocInfo = Sec->Relocations[Index]; in writeSections()
|
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | COFFEmitter.cpp | 253 if (!S.Relocations.empty()) { in layoutCOFF() 259 S.Header.NumberOfRelocations = S.Relocations.size(); in layoutCOFF() 260 CurrentSectionDataOffset += S.Relocations.size() * COFF::RelocationSize; in layoutCOFF() 505 OS << binary_le<uint32_t>(/*VirtualAddress=*/ S.Relocations.size() + 1) in writeCOFF() 508 for (const COFFYAML::Relocation &R : S.Relocations) { in writeCOFF()
|
H A D | XCOFFEmitter.cpp | 111 if (!InitSection.Relocations.empty()) { in initRelocations() 114 uint64_t UsedSize = RelSize * InitSection.Relocations.size(); in initRelocations() 119 InitSection.NumberOfRelocations = InitSection.Relocations.size(); in initRelocations() 579 if (!YamlSec.Relocations.empty()) { in writeRelocations() 587 for (const XCOFFYAML::Relocation &YamlRel : YamlSec.Relocations) { in writeRelocations()
|
H A D | WasmEmitter.cpp | 584 encodeULEB128(Sec.Relocations.size(), OS); in writeRelocSection() 586 for (auto Reloc : Sec.Relocations) { in writeRelocSection() 667 if (Sec->Relocations.empty()) { in writeWasm()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | MCMachObjectWriter.h | 138 DenseMap<const MCSection *, std::vector<RelAndSymbol>> Relocations; variable 328 Relocations[Sec].push_back(P); in addRelocation()
|
H A D | MCELFObjectWriter.h | 165 DenseMap<const MCSectionELF *, std::vector<ELFRelocationEntry>> Relocations; variable
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
H A D | llvm-readobj.cpp | 113 static bool Relocations; variable 231 opts::Relocations = Args.hasArg(OPT_relocs); in parseOptions() 438 if (opts::Relocations) in dumpObject() 679 opts::Relocations = true; in llvm_readobj_main()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/ |
H A D | llvm-objdump.h | 64 extern bool Relocations;
|
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/ |
H A D | ELFObject.cpp | 112 static SmallVector<char, 0> encodeCrel(ArrayRef<Relocation> Relocations) { in encodeCrel() argument 116 ELF::encodeCrel<Is64>(OS, Relocations, [&](const Relocation &R) { in encodeCrel() 127 Sec.Size = encodeCrel<ELFT::Is64Bits>(Sec.Relocations).size(); in visit() 130 Sec.Size = Sec.Relocations.size() * Sec.EntrySize; in visit() 914 for (const Relocation &R : Relocations) { in removeSectionReferences() 976 static void writeRel(const RelRange &Relocations, T *Buf, bool IsMips64EL) { in writeRel() argument 977 for (const auto &Reloc : Relocations) { in writeRel() 990 auto Content = encodeCrel<ELFT::Is64Bits>(Sec.Relocations); in visit() 993 writeRel(Sec.Relocations, reinterpret_cast<Elf_Rel *>(Buf), in visit() 996 writeRel(Sec.Relocations, reinterpret_cast<Elf_Rela *>(Buf), in visit() [all …]
|
/freebsd/usr.bin/clang/lld/ |
H A D | Makefile | 68 SRCS+= ELF/Relocations.cpp
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyld.cpp | 147 for (const auto &Rel : Relocations) { in resolveLocalRelocations() 157 Relocations.clear(); in resolveLocalRelocations() 948 Relocations[SectionID].push_back(RE); in addRelocationForSection() 966 Relocations[SymInfo.getSectionID()].push_back(RECopy); in addRelocationForSymbol()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/ |
H A D | COFFYAML.h | 89 std::vector<Relocation> Relocations; member
|
H A D | XCOFFYAML.h | 84 std::vector<Relocation> Relocations; member
|