Home
last modified time | relevance | path

Searched refs:Relocs (Results 1 – 25 of 52) sorted by relevance

123

/external/llvm/include/llvm/DebugInfo/DWARF/
DDWARFAcceleratorTable.h42 const RelocAddrMap& Relocs; variable
45 const RelocAddrMap &Relocs) in DWARFAcceleratorTable() argument
46 : AccelSection(AccelSection), StringSection(StringSection), Relocs(Relocs) {} in DWARFAcceleratorTable()
DDWARFSection.h20 RelocAddrMap Relocs; member
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsELFObjectWriter.cpp63 std::vector<ELFRelocationEntry> &Relocs) override;
199 static void dumpRelocs(const char *Prefix, const Container &Relocs) { in dumpRelocs() argument
200 for (const auto &R : Relocs) in dumpRelocs()
409 std::vector<ELFRelocationEntry> &Relocs) { in sortRelocs() argument
410 if (Relocs.size() < 2) in sortRelocs()
414 std::sort(Relocs.begin(), Relocs.end(), in sortRelocs()
422 DEBUG(dumpRelocs("R: ", Relocs)); in sortRelocs()
427 copy_if_else(Relocs.begin(), Relocs.end(), std::back_inserter(Remainder), in sortRelocs()
470 assert(Relocs.size() == Sorted.size() && "Some relocs were not consumed"); in sortRelocs()
476 Relocs[CopyTo++] = R.R; in sortRelocs()
/external/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
DMipsELFObjectWriter.cpp68 std::vector<ELFRelocationEntry> &Relocs) override;
207 static void dumpRelocs(const char *Prefix, const Container &Relocs) { in dumpRelocs() argument
208 for (const auto &R : Relocs) in dumpRelocs()
430 std::vector<ELFRelocationEntry> &Relocs) { in sortRelocs() argument
437 if (Relocs.size() < 2) in sortRelocs()
441 llvm::sort(Relocs, in sortRelocs()
449 LLVM_DEBUG(dumpRelocs("R: ", Relocs)); in sortRelocs()
454 copy_if_else(Relocs.begin(), Relocs.end(), std::back_inserter(Remainder), in sortRelocs()
497 assert(Relocs.size() == Sorted.size() && "Some relocs were not consumed"); in sortRelocs()
503 Relocs[CopyTo++] = R.R; in sortRelocs()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/MCTargetDesc/
DMipsELFObjectWriter.cpp68 std::vector<ELFRelocationEntry> &Relocs) override;
207 static void dumpRelocs(const char *Prefix, const Container &Relocs) { in dumpRelocs() argument
208 for (const auto &R : Relocs) in dumpRelocs()
455 std::vector<ELFRelocationEntry> &Relocs) { in sortRelocs() argument
462 if (Relocs.size() < 2) in sortRelocs()
466 llvm::sort(Relocs, in sortRelocs()
474 LLVM_DEBUG(dumpRelocs("R: ", Relocs)); in sortRelocs()
479 copy_if_else(Relocs.begin(), Relocs.end(), std::back_inserter(Remainder), in sortRelocs()
522 assert(Relocs.size() == Sorted.size() && "Some relocs were not consumed"); in sortRelocs()
528 Relocs[CopyTo++] = R.R; in sortRelocs()
/external/llvm/lib/DebugInfo/DWARF/
DDWARFContext.cpp72 DWARFAcceleratorTable Accel(AccelSection, StrData, Section.Relocs); in dumpAccelSection()
165 LineTable.parse(lineData, &getLineSection().Relocs, &stmtOffset); in dump()
324 Loc.reset(new DWARFDebugLoc(getLocSection().Relocs)); in getDebugLoc()
394 Line.reset(new DWARFDebugLine(&getLineSection().Relocs)); in getLineTableForUnit()
764 .Case("debug_info", &InfoSection.Relocs) in DWARFContextInMemory()
765 .Case("debug_loc", &LocSection.Relocs) in DWARFContextInMemory()
766 .Case("debug_info.dwo", &InfoDWOSection.Relocs) in DWARFContextInMemory()
767 .Case("debug_line", &LineSection.Relocs) in DWARFContextInMemory()
768 .Case("apple_names", &AppleNamesSection.Relocs) in DWARFContextInMemory()
769 .Case("apple_types", &AppleTypesSection.Relocs) in DWARFContextInMemory()
[all …]
DDWARFAcceleratorTable.cpp107 RelocAddrMap::const_iterator Reloc = Relocs.find(DataOffset-4); in dump()
108 if (Reloc != Relocs.end()) in dump()
/external/llvm-project/llvm/lib/Object/
DELF.cpp326 std::vector<Elf_Rel> Relocs; in decode_relrs() local
344 Relocs.push_back(Rel); in decode_relrs()
356 Relocs.push_back(Rel); in decode_relrs()
365 return Relocs; in decode_relrs()
400 std::vector<Elf_Rela> Relocs; in android_relas() local
401 Relocs.reserve(NumRelocs); in android_relas()
436 Relocs.push_back(R); in android_relas()
446 return Relocs; in android_relas()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DELF.cpp307 std::vector<Elf_Rela> Relocs; in decode_relrs() local
325 Relocs.push_back(Rela); in decode_relrs()
337 Relocs.push_back(Rela); in decode_relrs()
346 return Relocs; in decode_relrs()
381 std::vector<Elf_Rela> Relocs; in android_relas() local
382 Relocs.reserve(NumRelocs); in android_relas()
417 Relocs.push_back(R); in android_relas()
427 return Relocs; in android_relas()
/external/llvm-project/llvm/lib/XRay/
DInstrumentationMap.cpp94 RelocMap Relocs; in loadObj() local
124 Relocs.insert( in loadObj()
135 Relocs.insert( in loadObj()
140 Relocs.insert({Reloc.getOffset(), *AddendOrErr}); in loadObj()
160 RelocMap::const_iterator R = Relocs.find(A); in loadObj()
161 if (R != Relocs.end()) in loadObj()
/external/llvm-project/llvm/tools/llvm-objcopy/COFF/
DWriter.cpp28 for (Relocation &R : Sec.Relocs) { in finalizeRelocTargets()
100 if (S.Relocs.size() >= 0xffff) { in layoutSections()
106 S.Header.NumberOfRelocations = S.Relocs.size(); in layoutSections()
107 S.Header.PointerToRelocations = S.Relocs.size() ? FileSize : 0; in layoutSections()
110 FileSize += S.Relocs.size() * sizeof(coff_relocation); in layoutSections()
318 if (S.Relocs.size() >= 0xffff) { in writeSections()
320 R.VirtualAddress = S.Relocs.size() + 1; in writeSections()
326 for (const auto &R : S.Relocs) { in writeSections()
DReader.cpp72 ArrayRef<coff_relocation> Relocs = COFFObj.getRelocations(Sec); in readSections() local
73 for (const coff_relocation &R : Relocs) in readSections()
74 S.Relocs.push_back(R); in readSections()
179 for (Relocation &R : Sec.Relocs) { in setSymbolTargets()
DObject.cpp63 for (const Relocation &R : Sec.Relocs) { in markSymbols()
140 Sec.Relocs.clear(); in truncateSections()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/
DInstrumentationMap.cpp89 RelocMap Relocs; in loadObj() local
115 Relocs.insert({Reloc.getOffset(), resolved}); in loadObj()
118 Relocs.insert({Reloc.getOffset(), *AddendOrErr}); in loadObj()
137 RelocMap::const_iterator R = Relocs.find(A); in loadObj()
138 if (R != Relocs.end()) in loadObj()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyld.cpp891 void RuntimeDyldImpl::resolveRelocationList(const RelocationList &Relocs, in resolveRelocationList() argument
893 for (unsigned i = 0, e = Relocs.size(); i != e; ++i) { in resolveRelocationList()
894 const RelocationEntry &RE = Relocs[i]; in resolveRelocationList()
911 RelocationList &Relocs = i->second; in resolveExternalSymbols() local
912 resolveRelocationList(Relocs, 0); in resolveExternalSymbols()
951 RelocationList &Relocs = i->second; in resolveExternalSymbols() local
952 resolveRelocationList(Relocs, Addr); in resolveExternalSymbols()
/external/llvm/lib/MC/
DMCELFObjectTargetWriter.cpp34 std::vector<ELFRelocationEntry> &Relocs) { in sortRelocs() argument
DMachObjectWriter.cpp804 std::vector<RelAndSymbol> &Relocs = Relocations[&Sec]; in writeObject() local
805 unsigned NumRelocs = Relocs.size(); in writeObject()
912 std::vector<RelAndSymbol> &Relocs = Relocations[&Sec]; in writeObject() local
913 for (const RelAndSymbol &Rel : make_range(Relocs.rbegin(), Relocs.rend())) { in writeObject()
DELFObjectWriter.cpp1084 std::vector<ELFRelocationEntry> &Relocs = Relocations[&Sec]; in writeRelocations() local
1090 std::reverse(Relocs.begin(), Relocs.end()); in writeRelocations()
1093 TargetObjectWriter->sortRelocs(Asm, Relocs); in writeRelocations()
1095 for (unsigned i = 0, e = Relocs.size(); i != e; ++i) { in writeRelocations()
1096 const ELFRelocationEntry &Entry = Relocs[e - i - 1]; in writeRelocations()
/external/llvm-project/llvm/lib/MC/
DMCELFObjectTargetWriter.cpp27 std::vector<ELFRelocationEntry> &Relocs) { in sortRelocs() argument
DMachObjectWriter.cpp853 std::vector<RelAndSymbol> &Relocs = Relocations[&Sec]; in writeObject() local
854 unsigned NumRelocs = Relocs.size(); in writeObject()
967 std::vector<RelAndSymbol> &Relocs = Relocations[&Sec]; in writeObject() local
968 for (const RelAndSymbol &Rel : make_range(Relocs.rbegin(), Relocs.rend())) { in writeObject()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCELFObjectTargetWriter.cpp27 std::vector<ELFRelocationEntry> &Relocs) { in sortRelocs() argument
/external/llvm/lib/CodeGen/SelectionDAG/
DStatepointLowering.cpp251 SmallVectorImpl<const GCRelocateInst *> &Relocs, in removeDuplicateGCPtrs() argument
266 NewRelocs.push_back(Relocs[i]); in removeDuplicateGCPtrs()
275 assert(Relocs.size() >= NewRelocs.size()); in removeDuplicateGCPtrs()
278 Relocs = NewRelocs; in removeDuplicateGCPtrs()
280 assert(Ptrs.size() == Relocs.size()); in removeDuplicateGCPtrs()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyld.cpp1059 void RuntimeDyldImpl::resolveRelocationList(const RelocationList &Relocs, in resolveRelocationList() argument
1061 for (unsigned i = 0, e = Relocs.size(); i != e; ++i) { in resolveRelocationList()
1062 const RelocationEntry &RE = Relocs[i]; in resolveRelocationList()
1081 RelocationList &Relocs = i->second; in applyExternalSymbolRelocations() local
1082 resolveRelocationList(Relocs, 0); in applyExternalSymbolRelocations()
1126 RelocationList &Relocs = i->second; in applyExternalSymbolRelocations() local
1127 resolveRelocationList(Relocs, Addr); in applyExternalSymbolRelocations()
/external/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyld.cpp1075 void RuntimeDyldImpl::resolveRelocationList(const RelocationList &Relocs, in resolveRelocationList() argument
1077 for (unsigned i = 0, e = Relocs.size(); i != e; ++i) { in resolveRelocationList()
1078 const RelocationEntry &RE = Relocs[i]; in resolveRelocationList()
1097 RelocationList &Relocs = i->second; in applyExternalSymbolRelocations() local
1098 resolveRelocationList(Relocs, 0); in applyExternalSymbolRelocations()
1142 RelocationList &Relocs = i->second; in applyExternalSymbolRelocations() local
1143 resolveRelocationList(Relocs, Addr); in applyExternalSymbolRelocations()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DStatepointLowering.cpp278 SmallVectorImpl<const GCRelocateInst *> &Relocs, in removeDuplicateGCPtrs() argument
293 NewRelocs.push_back(Relocs[i]); in removeDuplicateGCPtrs()
302 assert(Relocs.size() >= NewRelocs.size()); in removeDuplicateGCPtrs()
305 Relocs = NewRelocs; in removeDuplicateGCPtrs()
307 assert(Ptrs.size() == Relocs.size()); in removeDuplicateGCPtrs()

123