Home
last modified time | relevance | path

Searched refs:SymInfo (Results 1 – 11 of 11) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/MCDisassembler/
H A DMCDisassembler.cpp85 bool XCOFFSymbolInfoTy::operator<(const XCOFFSymbolInfoTy &SymInfo) const { in operator <()
87 if (IsLabel != SymInfo.IsLabel) in operator <()
88 return SymInfo.IsLabel; in operator <()
92 SymInfo.StorageMappingClass.has_value()) in operator <()
93 return SymInfo.StorageMappingClass.has_value(); in operator <()
97 getSMCPriority(*SymInfo.StorageMappingClass); in operator <()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldChecker.cpp886 auto SymInfo = GetSymbolInfo(Symbol); in getSymbolLocalAddr() local
887 if (!SymInfo) { in getSymbolLocalAddr()
892 if (SymInfo->isZeroFill()) in getSymbolLocalAddr()
900 auto SymInfo = GetSymbolInfo(Symbol); in getSymbolRemoteAddr() local
901 if (!SymInfo) { in getSymbolRemoteAddr()
906 return SymInfo->getTargetAddress(); in getSymbolRemoteAddr()
929 auto SymInfo = GetSymbolInfo(Symbol); in getSymbolContent() local
930 if (!SymInfo) { in getSymbolContent()
934 return {SymInfo->getContent().data(), SymInfo->getContent().size()}; in getSymbolContent()
939 if (!SymInfo) { in getTargetFlag()
[all …]
H A DRuntimeDyldImpl.h503 const auto &SymInfo = pos->second; in getSymbolLocalAddress() local
505 if (SymInfo.getSectionID() == AbsoluteSymbolSection) in getSymbolLocalAddress()
507 return getSectionAddress(SymInfo.getSectionID()) + SymInfo.getOffset(); in getSymbolLocalAddress()
H A DRuntimeDyldMachO.cpp118 const auto &SymInfo = SI->second; in getRelocationValueRef() local
119 Value.SectionID = SymInfo.getSectionID(); in getRelocationValueRef()
120 Value.Offset = SymInfo.getOffset() + RE.Addend; in getRelocationValueRef()
H A DRuntimeDyld.cpp964 const auto &SymInfo = Loc->second; in addRelocationForSymbol() local
965 RECopy.Addend += SymInfo.getOffset(); in addRelocationForSymbol()
966 Relocations[SymInfo.getSectionID()].push_back(RECopy); in addRelocationForSymbol()
1132 const auto &SymInfo = Loc->second; in applyExternalSymbolRelocations() local
1133 Addr = getSectionLoadAddress(SymInfo.getSectionID()) + in applyExternalSymbolRelocations()
1134 SymInfo.getOffset(); in applyExternalSymbolRelocations()
1135 Flags = SymInfo.getFlags(); in applyExternalSymbolRelocations()
H A DRuntimeDyldELF.cpp1140 const auto &SymInfo = Loc->second; in resolveAArch64ShortBranch() local
1142 uint64_t(Sections[SymInfo.getSectionID()].getLoadAddressWithOffset( in resolveAArch64ShortBranch()
1143 SymInfo.getOffset())); in resolveAArch64ShortBranch()
1258 const auto &SymInfo = gsi->second; in processRelocationRef() local
1259 Value.SectionID = SymInfo.getSectionID(); in processRelocationRef()
1260 Value.Offset = SymInfo.getOffset(); in processRelocationRef()
1261 Value.Addend = SymInfo.getOffset() + Addend; in processRelocationRef()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp854 RuntimeDyldChecker::MemoryRegionInfo SymInfo; in linkAndVerify() local
858 SymInfo.setTargetAddress(InternalSymbol.getAddress()); in linkAndVerify()
883 SymInfo.setTargetAddress(I->second.getAddress()); in linkAndVerify()
894 SymInfo.setContent(ArrayRef<char>(CSymAddr, SymSize)); in linkAndVerify()
895 SymInfo.setTargetFlags( in linkAndVerify()
899 return SymInfo; in linkAndVerify()
905 auto SymInfo = GetSymbolInfo(Symbol); in linkAndVerify() local
906 if (!SymInfo) { in linkAndVerify()
907 logAllUnhandledErrors(SymInfo.takeError(), errs(), "RTDyldChecker: "); in linkAndVerify()
910 return SymInfo->getTargetAddress() != 0; in linkAndVerify()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObjcopy.cpp547 static void addSymbol(Object &Obj, const NewSymbolInfo &SymInfo, in addSymbol() argument
549 SectionBase *Sec = Obj.findSection(SymInfo.SectionName); in addSymbol()
550 uint64_t Value = Sec ? Sec->Addr + SymInfo.Value : SymInfo.Value; in addSymbol()
556 for (SymbolFlag FlagValue : SymInfo.Flags) in addSymbol()
596 SymInfo.SymbolName, Bind, Type, Sec, Value, Visibility, in addSymbol()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MC/MCDisassembler/
H A DMCDisassembler.h25 bool operator<(const XCOFFSymbolInfoTy &SymInfo) const;
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFContext.cpp1902 struct SymInfo { struct
1909 static Expected<SymInfo> getSymbolInfo(const object::ObjectFile &Obj, in getSymbolInfo() argument
1912 std::map<SymbolRef, SymInfo> &Cache) { in getSymbolInfo()
1913 SymInfo Ret = {0, (uint64_t)-1LL}; in getSymbolInfo()
1917 std::map<SymbolRef, SymInfo>::iterator CacheIt = Cache.end(); in getSymbolInfo()
2265 std::map<SymbolRef, SymInfo> AddrCache; in DWARFObjInMemory()
2275 Expected<SymInfo> SymInfoOrErr = in DWARFObjInMemory()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-objcopy/
H A DObjcopyOptions.cpp961 Expected<NewSymbolInfo> SymInfo = parseNewSymbolInfo(Arg->getValue()); in parseObjcopyOptions() local
962 if (!SymInfo) in parseObjcopyOptions()
963 return SymInfo.takeError(); in parseObjcopyOptions()
965 Config.SymbolsToAdd.push_back(*SymInfo); in parseObjcopyOptions()