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.cpp30 struct SegInfo { struct in llvm::orc::EPCGenericJITLinkMemoryManager::InFlightAlloc
31 SegInfo() : WorkingMem(nullptr), ContentSize(0), ZeroFillSize(0) {} in SegInfo() argument
39 using SegInfoMap = AllocGroupSmallMap<SegInfo>;
158 auto &SegInfo = SegInfos[AG]; in completeAllocation() local
159 SegInfo.ContentSize = Seg.ContentSize; in completeAllocation()
160 SegInfo.ZeroFillSize = Seg.ZeroFillSize; in completeAllocation()
161 SegInfo.Addr = Seg.Addr; in completeAllocation()
162 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()
305 auto SegInfo = Alloc->getSegInfo(MemProt::Read | MemProt::Exec); in writeResolverBlock() local
306 ResolverBlockAddr = SegInfo.Addr; in writeResolverBlock()
307 ABI->writeResolverCode(SegInfo.WorkingMem.data(), ResolverBlockAddr, in writeResolverBlock()
H A DMapperJITLinkMemoryManager.cpp25 std::vector<MemoryMapper::AllocInfo::SegInfo> Segs) in InFlightAlloc()
54 std::vector<MemoryMapper::AllocInfo::SegInfo> Segs;
85 std::vector<MemoryMapper::AllocInfo::SegInfo> SegInfos; in allocate()
98 MemoryMapper::AllocInfo::SegInfo SI; in allocate()
H A DDebugObjectManagerPlugin.cpp342 auto SegInfo = Alloc->getSegInfo(MemProt::Read); in finalizeWorkingMemory() local
343 memcpy(SegInfo.WorkingMem.data(), Buffer->getBufferStart(), Size); in finalizeWorkingMemory()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DMemoryMapper.h31 struct SegInfo { struct
40 std::vector<SegInfo> Segments;
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DMachOObjectFile.cpp3343 const ChainedFixupsSegment &SegInfo = Segments[InfoSegIndex]; in findNextPageWithFixups() local
3344 while (PageIndex < SegInfo.PageStarts.size() && in findNextPageWithFixups()
3345 SegInfo.PageStarts[PageIndex] == MachO::DYLD_CHAINED_PTR_START_NONE) in findNextPageWithFixups()
3347 return PageIndex < SegInfo.PageStarts.size(); in findNextPageWithFixups()
3388 const ChainedFixupsSegment &SegInfo = Segments[InfoSegIndex]; in moveNext() local
3389 SegmentIndex = SegInfo.SegIdx; in moveNext()
3390 SegmentOffset = SegInfo.Header.page_size * PageIndex + PageOffset; in moveNext()
3393 uint16_t PointerFormat = SegInfo.Header.pointer_format; in moveNext()