/freebsd/contrib/llvm-project/llvm/lib/MC/MCDisassembler/ |
H A D | MCDisassembler.cpp | 85 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/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyldChecker.cpp | 892 auto SymInfo = GetSymbolInfo(Symbol); in getSymbolLocalAddr() local 893 if (!SymInfo) { in getSymbolLocalAddr() 894 logAllUnhandledErrors(SymInfo.takeError(), errs(), "RTDyldChecker: "); in getSymbolLocalAddr() 898 if (SymInfo->isZeroFill()) in getSymbolLocalAddr() 902 reinterpret_cast<uintptr_t>(SymInfo->getContent().data())); in getSymbolLocalAddr() 906 auto SymInfo = GetSymbolInfo(Symbol); in getSymbolRemoteAddr() local 907 if (!SymInfo) { in getSymbolRemoteAddr() 908 logAllUnhandledErrors(SymInfo.takeError(), errs(), "RTDyldChecker: "); in getSymbolRemoteAddr() 912 return SymInfo->getTargetAddress(); in getSymbolRemoteAddr() 935 auto SymInfo = GetSymbolInfo(Symbol); in getSymbolContent() local [all …]
|
H A D | RuntimeDyldImpl.h | 503 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 D | RuntimeDyldMachO.cpp | 118 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 D | RuntimeDyld.cpp | 964 const auto &SymInfo = Loc->second; in addRelocationForSymbol() local 965 RECopy.Addend += SymInfo.getOffset(); in addRelocationForSymbol() 966 Relocations[SymInfo.getSectionID()].push_back(RECopy); in addRelocationForSymbol() 1131 const auto &SymInfo = Loc->second; in applyExternalSymbolRelocations() local 1132 Addr = getSectionLoadAddress(SymInfo.getSectionID()) + in applyExternalSymbolRelocations() 1133 SymInfo.getOffset(); in applyExternalSymbolRelocations() 1134 Flags = SymInfo.getFlags(); in applyExternalSymbolRelocations()
|
H A D | RuntimeDyldELF.cpp | 1140 const auto &SymInfo = Loc->second; in resolveAArch64ShortBranch() local 1142 TargetSectionID = SymInfo.getSectionID(); in resolveAArch64ShortBranch() 1143 TargetOffset = SymInfo.getOffset(); in resolveAArch64ShortBranch() 1265 const auto &SymInfo = gsi->second; in processRelocationRef() local 1266 Value.SectionID = SymInfo.getSectionID(); in processRelocationRef() 1267 Value.Offset = SymInfo.getOffset(); in processRelocationRef() 1268 Value.Addend = SymInfo.getOffset() + Addend; in processRelocationRef()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-rtdyld/ |
H A D | llvm-rtdyld.cpp | 854 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/contrib/llvm-project/llvm/lib/ObjCopy/ELF/ |
H A D | ELFObjcopy.cpp | 564 static void addSymbol(Object &Obj, const NewSymbolInfo &SymInfo, in addSymbol() argument 566 SectionBase *Sec = Obj.findSection(SymInfo.SectionName); in addSymbol() 567 uint64_t Value = Sec ? Sec->Addr + SymInfo.Value : SymInfo.Value; in addSymbol() 573 for (SymbolFlag FlagValue : SymInfo.Flags) in addSymbol() 613 SymInfo.SymbolName, Bind, Type, Sec, Value, Visibility, in addSymbol()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/MCDisassembler/ |
H A D | MCDisassembler.h | 26 bool operator<(const XCOFFSymbolInfoTy &SymInfo) const;
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFContext.cpp | 1904 struct SymInfo { struct 1911 static Expected<SymInfo> getSymbolInfo(const object::ObjectFile &Obj, in getSymbolInfo() argument 1914 std::map<SymbolRef, SymInfo> &Cache) { in getSymbolInfo() 1915 SymInfo Ret = {0, (uint64_t)-1LL}; in getSymbolInfo() 1919 std::map<SymbolRef, SymInfo>::iterator CacheIt = Cache.end(); in getSymbolInfo() 2267 std::map<SymbolRef, SymInfo> AddrCache; in DWARFObjInMemory() 2277 Expected<SymInfo> SymInfoOrErr = in DWARFObjInMemory()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-objcopy/ |
H A D | ObjcopyOptions.cpp | 1080 Expected<NewSymbolInfo> SymInfo = parseNewSymbolInfo(Arg->getValue()); in parseObjcopyOptions() local 1081 if (!SymInfo) in parseObjcopyOptions() 1082 return SymInfo.takeError(); in parseObjcopyOptions() 1084 Config.SymbolsToAdd.push_back(*SymInfo); in parseObjcopyOptions()
|