Home
last modified time | relevance | path

Searched refs:SegInfo (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DEPCGenericJITLinkMemoryManager.cpp29 struct SegInfo { struct in llvm::orc::EPCGenericJITLinkMemoryManager::InFlightAlloc
30 SegInfo() : WorkingMem(nullptr), ContentSize(0), ZeroFillSize(0) {} in SegInfo() function
38 using SegInfoMap = AllocGroupSmallMap<SegInfo>;
157 auto &SegInfo = SegInfos[AG]; in completeAllocation() local
158 SegInfo.ContentSize = Seg.ContentSize; in completeAllocation()
159 SegInfo.ZeroFillSize = Seg.ZeroFillSize; in completeAllocation()
160 SegInfo.Addr = Seg.Addr; in completeAllocation()
161 SegInfo.WorkingMem = Seg.WorkingMem; in completeAllocation()
H A DEPCIndirectionUtils.cpp120 auto SegInfo = Alloc->getSegInfo(MemProt::Read | MemProt::Exec); in grow() local
122 SegInfo.WorkingMem.data(), SegInfo.Addr, ResolverAddress, NumTrampolines); in grow()
124 AvailableTrampolines.push_back(SegInfo.Addr + (I * TrampolineSize)); in grow()
306 auto SegInfo = Alloc->getSegInfo(MemProt::Read | MemProt::Exec); in writeResolverBlock() local
307 ResolverBlockAddr = SegInfo.Addr; in writeResolverBlock()
308 ABI->writeResolverCode(SegInfo.WorkingMem.data(), ResolverBlockAddr, in writeResolverBlock()
H A DMapperJITLinkMemoryManager.cpp24 std::vector<MemoryMapper::AllocInfo::SegInfo> Segs) in InFlightAlloc()
53 std::vector<MemoryMapper::AllocInfo::SegInfo> Segs;
84 std::vector<MemoryMapper::AllocInfo::SegInfo> SegInfos; in allocate()
97 MemoryMapper::AllocInfo::SegInfo SI; in allocate()
H A DDebugObjectManagerPlugin.cpp341 auto SegInfo = Alloc->getSegInfo(MemProt::Read); in finalizeWorkingMemory() local
342 memcpy(SegInfo.WorkingMem.data(), Buffer->getBufferStart(), Size); in finalizeWorkingMemory()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DMemoryMapper.h32 struct SegInfo { struct
41 std::vector<SegInfo> Segments;
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DMachOObjectFile.cpp3342 const ChainedFixupsSegment &SegInfo = Segments[InfoSegIndex]; in findNextPageWithFixups() local
3343 while (PageIndex < SegInfo.PageStarts.size() && in findNextPageWithFixups()
3344 SegInfo.PageStarts[PageIndex] == MachO::DYLD_CHAINED_PTR_START_NONE) in findNextPageWithFixups()
3346 return PageIndex < SegInfo.PageStarts.size(); in findNextPageWithFixups()
3387 const ChainedFixupsSegment &SegInfo = Segments[InfoSegIndex]; in moveNext() local
3388 SegmentIndex = SegInfo.SegIdx; in moveNext()
3389 SegmentOffset = SegInfo.Header.page_size * PageIndex + PageOffset; in moveNext()
3392 uint16_t PointerFormat = SegInfo.Header.pointer_format; in moveNext()