Searched refs:SymInfo (Results 1 – 8 of 8) sorted by relevance
335 const Elf64_Sym &SymInfo = KeyValue.second.Sym; in writeSymbolMap() local336 Str.writeELFWord<IsELF64>(SymInfo.st_name); in writeSymbolMap()337 Str.write8(SymInfo.st_info); in writeSymbolMap()338 Str.write8(SymInfo.st_other); in writeSymbolMap()339 Str.writeLE16(SymInfo.st_shndx); in writeSymbolMap()340 Str.writeAddrOrOffset<IsELF64>(SymInfo.st_value); in writeSymbolMap()341 Str.writeELFXword<IsELF64>(SymInfo.st_size); in writeSymbolMap()345 const Elf64_Sym &SymInfo = KeyValue.second.Sym; in writeSymbolMap() local346 Str.writeELFWord<IsELF64>(SymInfo.st_name); in writeSymbolMap()347 Str.writeAddrOrOffset<IsELF64>(SymInfo.st_value); in writeSymbolMap()[all …]
160 Elf64_Sym &SymInfo = KeyValue.second.Sym; in updateIndices() local162 SymInfo.st_name = StrTab->getIndex(Name.toString()); in updateIndices()163 SymInfo.st_shndx = Section->getNumber(); in updateIndices()169 Elf64_Sym &SymInfo = KeyValue.second.Sym; in updateIndices() local171 SymInfo.st_name = StrTab->getIndex(Name); in updateIndices()172 SymInfo.st_shndx = Section->getNumber(); in updateIndices()
738 auto SymInfo = GetSymbolInfo(Symbol); in getSymbolLocalAddr() local739 if (!SymInfo) { in getSymbolLocalAddr()740 logAllUnhandledErrors(SymInfo.takeError(), errs(), "RTDyldChecker: "); in getSymbolLocalAddr()744 if (SymInfo->isZeroFill()) in getSymbolLocalAddr()748 reinterpret_cast<uintptr_t>(SymInfo->getContent().data())); in getSymbolLocalAddr()752 auto SymInfo = GetSymbolInfo(Symbol); in getSymbolRemoteAddr() local753 if (!SymInfo) { in getSymbolRemoteAddr()754 logAllUnhandledErrors(SymInfo.takeError(), errs(), "RTDyldChecker: "); in getSymbolRemoteAddr()758 return SymInfo->getTargetAddress(); in getSymbolRemoteAddr()781 auto SymInfo = GetSymbolInfo(Symbol); in getSymbolContent() local[all …]
498 const auto &SymInfo = pos->second; in getSymbolLocalAddress() local500 if (SymInfo.getSectionID() == AbsoluteSymbolSection) in getSymbolLocalAddress()502 return getSectionAddress(SymInfo.getSectionID()) + SymInfo.getOffset(); in getSymbolLocalAddress()
118 const auto &SymInfo = SI->second; in getRelocationValueRef() local119 Value.SectionID = SymInfo.getSectionID(); in getRelocationValueRef()120 Value.Offset = SymInfo.getOffset() + RE.Addend; in getRelocationValueRef()
925 const auto &SymInfo = Loc->second; in addRelocationForSymbol() local926 RECopy.Addend += SymInfo.getOffset(); in addRelocationForSymbol()927 Relocations[SymInfo.getSectionID()].push_back(RECopy); in addRelocationForSymbol()1102 const auto &SymInfo = Loc->second; in applyExternalSymbolRelocations() local1103 Addr = getSectionLoadAddress(SymInfo.getSectionID()) + in applyExternalSymbolRelocations()1104 SymInfo.getOffset(); in applyExternalSymbolRelocations()1105 Flags = SymInfo.getFlags(); in applyExternalSymbolRelocations()
1031 const auto &SymInfo = Loc->second; in resolveAArch64ShortBranch() local1033 uint64_t(Sections[SymInfo.getSectionID()].getLoadAddressWithOffset( in resolveAArch64ShortBranch()1034 SymInfo.getOffset())); in resolveAArch64ShortBranch()1150 const auto &SymInfo = gsi->second; in processRelocationRef() local1151 Value.SectionID = SymInfo.getSectionID(); in processRelocationRef()1152 Value.Offset = SymInfo.getOffset(); in processRelocationRef()1153 Value.Addend = SymInfo.getOffset() + Addend; in processRelocationRef()
1348 struct SymInfo { struct1355 static Expected<SymInfo> getSymbolInfo(const object::ObjectFile &Obj, in getSymbolInfo() argument1358 std::map<SymbolRef, SymInfo> &Cache) { in getSymbolInfo()1359 SymInfo Ret = {0, (uint64_t)-1LL}; in getSymbolInfo()1363 std::map<SymbolRef, SymInfo>::iterator CacheIt = Cache.end(); in getSymbolInfo()1716 std::map<SymbolRef, SymInfo> AddrCache; in DWARFObjInMemory()1726 Expected<SymInfo> SymInfoOrErr = in DWARFObjInMemory()