HomeSort by: relevance | last modified time | path
    Searched refs:Relocs (Results 1 - 24 of 24) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/MC/
MCELFObjectTargetWriter.cpp 27 std::vector<ELFRelocationEntry> &Relocs) {
MachObjectWriter.cpp 853 std::vector<RelAndSymbol> &Relocs = Relocations[&Sec];
854 unsigned NumRelocs = Relocs.size();
967 std::vector<RelAndSymbol> &Relocs = Relocations[&Sec];
968 for (const RelAndSymbol &Rel : make_range(Relocs.rbegin(), Relocs.rend())) {
ELFObjectWriter.cpp 917 std::vector<ELFRelocationEntry> &Relocs = OWriter.Relocations[&Sec];
923 std::reverse(Relocs.begin(), Relocs.end());
926 OWriter.TargetObjectWriter->sortRelocs(Asm, Relocs);
928 for (unsigned i = 0, e = Relocs.size(); i != e; ++i) {
929 const ELFRelocationEntry &Entry = Relocs[e - i - 1];
WasmObjectWriter.cpp 536 // TABLE_INDEX relocs implicitly use the default indirect function table.
1043 std::vector<WasmRelocationEntry> &Relocs) {
1047 if (Relocs.empty())
1056 Relocs, [](const WasmRelocationEntry &A, const WasmRelocationEntry &B) {
1065 encodeULEB128(Relocs.size(), W->OS);
1066 for (const WasmRelocationEntry &RelEntry : Relocs) {
  /src/external/apache2/llvm/dist/llvm/lib/XRay/
InstrumentationMap.cpp 94 RelocMap Relocs;
124 Relocs.insert(
135 Relocs.insert(
140 Relocs.insert({Reloc.getOffset(), *AddendOrErr});
160 RelocMap::const_iterator R = Relocs.find(A);
161 if (R != Relocs.end())
  /src/external/apache2/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/
MipsELFObjectWriter.cpp 68 std::vector<ELFRelocationEntry> &Relocs) override;
207 static void dumpRelocs(const char *Prefix, const Container &Relocs) {
208 for (const auto &R : Relocs)
430 std::vector<ELFRelocationEntry> &Relocs) {
437 if (Relocs.size() < 2)
441 llvm::sort(Relocs,
449 LLVM_DEBUG(dumpRelocs("R: ", Relocs));
454 copy_if_else(Relocs.begin(), Relocs.end(), std::back_inserter(Remainder),
497 assert(Relocs.size() == Sorted.size() && "Some relocs were not consumed")
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/dsymutil/
DwarfLinkerForBinary.cpp 573 const DebugMapObject &DMO, std::vector<ValidReloc> &Relocs) {
576 findValidRelocsMachO(Section, *MachOObj, DMO, Relocs);
581 if (Relocs.empty())
588 llvm::sort(Relocs);
620 const std::vector<ValidReloc> &Relocs, uint64_t StartPos, uint64_t EndPos) {
623 auto CurReloc = partition_point(Relocs, [StartPos](const ValidReloc &Reloc) {
627 while (CurReloc != Relocs.end() && CurReloc->Offset >= StartPos &&
658 std::vector<ValidReloc> Relocs =
661 if (Relocs.size() == 0)
665 printReloc(Relocs[0])
    [all...]
DwarfLinkerForBinary.h 89 /// Returns list of valid relocations from \p Relocs,
94 getRelocations(const std::vector<ValidReloc> &Relocs, uint64_t StartPos,
165 /// Checks that there is a relocation in the \p Relocs array against a
169 bool hasValidRelocationAt(const std::vector<ValidReloc> &Relocs,
  /src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/COFF/
Reader.cpp 72 ArrayRef<coff_relocation> Relocs = COFFObj.getRelocations(Sec);
73 for (const coff_relocation &R : Relocs)
74 S.Relocs.push_back(R);
179 for (Relocation &R : Sec.Relocs) {
Object.cpp 57 for (const Relocation &R : Sec.Relocs) {
124 Sec.Relocs.clear();
Writer.cpp 29 for (Relocation &R : Sec.Relocs) {
101 if (S.Relocs.size() >= 0xffff) {
107 S.Header.NumberOfRelocations = S.Relocs.size();
108 S.Header.PointerToRelocations = S.Relocs.size() ? FileSize : 0;
111 FileSize += S.Relocs.size() * sizeof(coff_relocation);
320 if (S.Relocs.size() >= 0xffff) {
322 R.VirtualAddress = S.Relocs.size() + 1;
328 for (const auto &R : S.Relocs) {
Object.h 38 std::vector<Relocation> Relocs;
COFFObjcopy.cpp 168 Sec.Relocs.clear();
  /src/external/apache2/llvm/dist/llvm/lib/Object/
ELF.cpp 333 std::vector<Elf_Rel> Relocs;
351 Relocs.push_back(Rel);
363 Relocs.push_back(Rel);
372 return Relocs;
397 std::vector<Elf_Rela> Relocs;
398 Relocs.reserve(NumRelocs);
435 Relocs.push_back(R);
441 return Relocs;
COFFObjectFile.cpp 1791 Relocs.reserve(OrigRelocs.size());
1793 Relocs.push_back(&R);
1794 llvm::sort(Relocs, [](const coff_relocation *A, const coff_relocation *B) {
1812 std::equal_range(Relocs.begin(), Relocs.end(), &RelocTarget,
  /src/external/apache2/llvm/dist/clang/lib/AST/Interp/
Program.h 144 llvm::DenseMap<const FunctionDecl *, std::vector<unsigned>> Relocs;
  /src/external/apache2/llvm/dist/llvm/include/llvm/MC/
MCELFObjectWriter.h 93 std::vector<ELFRelocationEntry> &Relocs);
  /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/
RuntimeDyld.cpp 1079 void RuntimeDyldImpl::resolveRelocationList(const RelocationList &Relocs,
1081 for (unsigned i = 0, e = Relocs.size(); i != e; ++i) {
1082 const RelocationEntry &RE = Relocs[i];
1095 RelocationList &Relocs = RelocKV.second;
1100 resolveRelocationList(Relocs, 0);
1135 resolveRelocationList(Relocs, Addr);
RuntimeDyldImpl.h 395 /// Resolves relocations from Relocs list with address from Value.
396 void resolveRelocationList(const RelocationList &Relocs, uint64_t Value);
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/
DWARFContext.cpp 1502 RelocAddrMap Relocs;
1767 RelocAddrMap *Map = Sec ? &Sec->Relocs : nullptr;
1769 // Find debug_info and debug_types relocs by section rather than name
1773 .Relocs;
1777 .Relocs;
1781 .Relocs;
1785 .Relocs;
1852 RelocAddrMap::const_iterator AI = Sec.Relocs.find(Pos);
1853 if (AI == Sec.Relocs.end())
  /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/
HexagonMCCodeEmitter.cpp 485 static const std::map<unsigned,unsigned> Relocs = {
499 auto F = Relocs.find(VarKind);
500 if (F != Relocs.end())
  /src/external/apache2/llvm/dist/llvm/include/llvm/Object/
COFF.h 1265 std::vector<const coff_relocation *> Relocs;
  /src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/ELF/
Object.cpp 1623 static Error initRelocations(RelocationSection *Relocs,
1635 "'" + Relocs->Name + "': relocation references symbol with index " +
1644 Relocs->addRelocation(ToAdd);
  /src/external/apache2/llvm/dist/llvm/tools/llvm-objdump/
MachODump.cpp 572 // ARM half relocs must be followed by a relocation of type
1449 std::vector<std::pair<uint64_t, SymbolRef>> Relocs;
1460 Relocs.push_back(std::make_pair(RelocOffset, *RelocSym));
1463 array_pod_sort(Relocs.begin(), Relocs.end());
1487 auto Reloc = find_if(Relocs, [&](const std::pair<uint64_t, SymbolRef> &P) {
1490 if (Reloc != Relocs.end()) {
1599 std::vector<std::pair<uint64_t, SymbolRef>> Relocs;
1610 Relocs.push_back(std::make_pair(RelocOffset, *RelocSym));
1613 array_pod_sort(Relocs.begin(), Relocs.end())
    [all...]

Completed in 41 milliseconds