Home
last modified time | relevance | path

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

/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
DDWARFUnit.h180 const RelocAddrMap *getRelocMap() const { return &InfoSection.Relocs; } in getRelocMap()
/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/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/swiftshader/third_party/LLVM/tools/llvm-objdump/
DMachODump.cpp418 std::vector<std::pair<uint64_t, uint32_t> > Relocs; in DisassembleInputMachO() local
422 Relocs.push_back(std::make_pair(RE->Word0, RE->Word1 & 0xffffff)); in DisassembleInputMachO()
424 array_pod_sort(Relocs.begin(), Relocs.end()); in DisassembleInputMachO()
577 for (unsigned j = 0; j != Relocs.size(); ++j) in DisassembleInputMachO()
578 if (Relocs[j].first >= Sections[SectIdx].Address + Inst.Address && in DisassembleInputMachO()
579 Relocs[j].first < Sections[SectIdx].Address + Inst.Address + in DisassembleInputMachO()
583 UnsortedSymbols[Relocs[j].second].StringIndex) in DisassembleInputMachO()
585 DumpAddress(UnsortedSymbols[Relocs[j].second].Value, Sections, in DisassembleInputMachO()
/external/swiftshader/third_party/LLVM/lib/MC/
DMachObjectWriter.cpp690 std::vector<macho::RelocationEntry> &Relocs = Relocations[it]; in WriteObject() local
691 unsigned NumRelocs = Relocs.size(); in WriteObject()
749 std::vector<macho::RelocationEntry> &Relocs = Relocations[it]; in WriteObject() local
750 for (unsigned i = 0, e = Relocs.size(); i != e; ++i) { in WriteObject()
751 Write32(Relocs[e - i - 1].Word0); in WriteObject()
752 Write32(Relocs[e - i - 1].Word1); in WriteObject()
DELFObjectWriter.cpp747 std::vector<ELFRelocationEntry> &Relocs = Relocations[SD]; in WriteRelocationsFragment() local
749 array_pod_sort(Relocs.begin(), Relocs.end()); in WriteRelocationsFragment()
751 for (unsigned i = 0, e = Relocs.size(); i != e; ++i) { in WriteRelocationsFragment()
752 ELFRelocationEntry entry = Relocs[e - i - 1]; in WriteRelocationsFragment()
/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/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()
DRuntimeDyldImpl.h383 void resolveRelocationList(const RelocationList &Relocs, uint64_t Value);
/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/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldMachO.cpp496 RelocationList &Relocs = Relocations[Name]; in reassignSymbolAddress() local
497 for (unsigned i = 0, e = Relocs.size(); i != e; ++i) { in reassignSymbolAddress()
498 RelocationEntry &RE = Relocs[i]; in reassignSymbolAddress()
/external/llvm/include/llvm/MC/
DMCELFObjectWriter.h88 std::vector<ELFRelocationEntry> &Relocs);
/external/llvm/tools/llvm-objdump/
DMachODump.cpp827 std::vector<std::pair<uint64_t, SymbolRef>> Relocs; in DumpLiteralPointerSection() local
838 Relocs.push_back(std::make_pair(RelocOffset, *RelocSym)); in DumpLiteralPointerSection()
841 array_pod_sort(Relocs.begin(), Relocs.end()); in DumpLiteralPointerSection()
866 Relocs.begin(), Relocs.end(), in DumpLiteralPointerSection()
868 if (Reloc != Relocs.end()) { in DumpLiteralPointerSection()
/external/llvm/tools/dsymutil/
DDwarfLinker.cpp2997 LineTable.parse(LineExtractor, &OrigDwarf.getLineSection().Relocs, in patchLineTableForUnit()