| /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 llvm::append_range(ReadSec.Relocations, Relocations.get()); 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 | 79 int Relocations = 0; member in __anon3870acaf0111::COFFSymbol 114 relocations Relocations; member in __anon3870acaf0111::COFFSection 552 if (Section->Relocations.size() >= 0xffff) in writeSectionHeaders() 612 if (Sec.Relocations.empty()) { in writeSection() 621 if (Sec.Relocations.size() >= 0xffff) { in writeSection() 625 R.VirtualAddress = Sec.Relocations.size() + 1; in writeSection() 631 for (const auto &Relocation : Sec.Relocations) in writeSection() 753 if (!Sec->Relocations.empty()) { in assignFileOffsets() 754 bool RelocationsOverflow = Sec->Relocations.size() >= 0xffff; in assignFileOffsets() 761 Sec->Header.NumberOfRelocations = Sec->Relocations.size(); in assignFileOffsets() [all …]
|
| H A D | ELFObjectWriter.cpp | 681 if (OWriter.Relocations[&Sec].empty()) in createRelocationSection() 812 std::vector<ELFRelocationEntry> &Relocs = OWriter.Relocations[&Sec]; in writeRelocations() 1025 SmallVector<MCSectionELF *> Relocations; in writeObject() local 1062 Relocations.push_back(RelSection); in writeObject() 1099 for (MCSectionELF *RelSection : Relocations) { in writeObject() 1168 Relocations.clear(); in reset() 1385 Relocations[&Section].emplace_back(FixupOffset, SymA, Type, Addend); in recordRelocation()
|
| H A D | XCOFFObjectWriter.cpp | 88 SmallVector<XCOFFRelocation, 1> Relocations; member 774 SectionMap[RelocationSec]->Relocations.push_back(Reloc); in recordRelocation() 797 SectionMap[RelocationSec]->Relocations.push_back(RelocB); in recordRelocation() 1136 for (const auto Reloc : Csect.Relocations) in writeRelocations() 1143 for (const auto &Reloc : DwarfSection.DwarfSect->Relocations) in writeRelocations() 1294 RelCount += Csect.Relocations.size(); in finalizeSectionInfo() 1301 DwarfSection.DwarfSect->Relocations.size()); in finalizeSectionInfo()
|
| H A D | WasmObjectWriter.cpp | 340 std::vector<WasmRelocationEntry> &Relocations); 351 void applyRelocations(ArrayRef<WasmRelocationEntry> Relocations, 740 ArrayRef<WasmRelocationEntry> Relocations, uint64_t ContentsOffset, in applyRelocations() argument 743 for (const WasmRelocationEntry &RelEntry : Relocations) { in applyRelocations() 1125 auto &Relocations = CustomSectionsRelocations[Sec.Section]; in writeCustomRelocSections() local 1126 writeRelocSection(Sec.OutputIndex, Sec.Name, Relocations); in writeCustomRelocSections() 1230 auto &Relocations = CustomSectionsRelocations[CustomSection.Section]; in writeCustomSection() local 1231 applyRelocations(Relocations, CustomSection.OutputContentsOffset, Asm); in writeCustomSection()
|
| H A D | MachObjectWriter.cpp | 44 Relocations.clear(); in reset() 665 for (RelAndSymbol &Rel : Relocations[&Section]) { in computeSymbolTable() 912 std::vector<RelAndSymbol> &Relocs = Relocations[&Sec]; in writeObject() 1043 std::vector<RelAndSymbol> &Relocs = Relocations[&Sec]; in writeObject()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ELFRelocs/ |
| H A D | RISCV_nonstandard.def | 24 // Qualcomm Nonstandard Relocations 30 // Andes Nonstandard Relocations
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/ |
| H A D | MachOReader.cpp | 95 S.Relocations.reserve(S.NReloc); in extractSections() 108 S.Relocations.push_back(R); in extractSections() 111 assert(S.NReloc == S.Relocations.size() && in extractSections() 255 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 | 143 for (const RelocationInfo &R : Sec->Relocations) in removeSections()
|
| H A D | MachOWriter.cpp | 252 for (size_t Index = 0; Index < Sec->Relocations.size(); ++Index) { in writeSections() 253 RelocationInfo RelocInfo = Sec->Relocations[Index]; in writeSections()
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| H A D | COFFEmitter.cpp | 247 if (!S.Relocations.empty()) { in layoutCOFF() 253 S.Header.NumberOfRelocations = S.Relocations.size(); in layoutCOFF() 254 CurrentSectionDataOffset += S.Relocations.size() * COFF::RelocationSize; in layoutCOFF() 499 OS << binary_le<uint32_t>(/*VirtualAddress=*/ S.Relocations.size() + 1) in writeCOFF() 502 for (const COFFYAML::Relocation &R : S.Relocations) { in writeCOFF()
|
| H A D | XCOFFEmitter.cpp | 110 if (!InitSection.Relocations.empty()) { in initRelocations() 113 uint64_t UsedSize = RelSize * InitSection.Relocations.size(); in initRelocations() 118 InitSection.NumberOfRelocations = InitSection.Relocations.size(); in initRelocations() 580 if (!YamlSec.Relocations.empty()) { in writeRelocations() 588 for (const XCOFFYAML::Relocation &YamlRel : YamlSec.Relocations) { in writeRelocations()
|
| H A D | WasmEmitter.cpp | 592 encodeULEB128(Sec.Relocations.size(), OS); in writeRelocSection() 594 for (auto Reloc : Sec.Relocations) { in writeRelocSection() 676 if (Sec->Relocations.empty()) { in writeWasm()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | MCMachObjectWriter.h | 139 DenseMap<const MCSection *, std::vector<RelAndSymbol>> Relocations; variable 322 Relocations[Sec].push_back(P); in addRelocation()
|
| H A D | MCELFObjectWriter.h | 150 DenseMap<const MCSectionELF *, std::vector<ELFRelocationEntry>> Relocations; variable
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
| H A D | llvm-readobj.cpp | 115 static bool Relocations; variable 233 opts::Relocations = Args.hasArg(OPT_relocs); in parseOptions() 439 if (opts::Relocations) in dumpObject() 698 opts::Relocations = true; in llvm_readobj_main()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/ |
| H A D | llvm-objdump.h | 63 extern bool Relocations;
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/ |
| H A D | ELFObject.cpp | 109 static SmallVector<char, 0> encodeCrel(ArrayRef<Relocation> Relocations) { in encodeCrel() argument 113 ELF::encodeCrel<Is64>(OS, Relocations, [&](const Relocation &R) { in encodeCrel() 124 Sec.Size = encodeCrel<ELFT::Is64Bits>(Sec.Relocations).size(); in visit() 127 Sec.Size = Sec.Relocations.size() * Sec.EntrySize; in visit() 911 for (const Relocation &R : Relocations) { in removeSectionReferences() 973 static void writeRel(const RelRange &Relocations, T *Buf, bool IsMips64EL) { in writeRel() argument 974 for (const auto &Reloc : Relocations) { in writeRel() 987 auto Content = encodeCrel<ELFT::Is64Bits>(Sec.Relocations); in visit() 990 writeRel(Sec.Relocations, reinterpret_cast<Elf_Rel *>(Buf), in visit() 993 writeRel(Sec.Relocations, reinterpret_cast<Elf_Rela *>(Buf), in visit() [all …]
|
| /freebsd/usr.bin/clang/lld/ |
| H A D | Makefile | 70 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() 951 Relocations[SectionID].push_back(RE); in addRelocationForSection() 969 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
|