Searched refs:StubsMem (Results 1 – 2 of 2) sorted by relevance
76 GenericIndirectStubsInfo(unsigned NumStubs, sys::OwningMemoryBlock StubsMem) in GenericIndirectStubsInfo() argument77 : NumStubs(NumStubs), StubsMem(std::move(StubsMem)) {} in GenericIndirectStubsInfo()79 : NumStubs(Other.NumStubs), StubsMem(std::move(Other.StubsMem)) { in GenericIndirectStubsInfo()85 StubsMem = std::move(Other.StubsMem);95 return static_cast<char *>(StubsMem.base()) + Idx * StubSize; in getStub()101 char *PtrsBase = static_cast<char *>(StubsMem.base()) + NumStubs * StubSize; in getPtr()107 sys::OwningMemoryBlock StubsMem; variable
158 auto StubsMem = sys::OwningMemoryBlock(sys::Memory::allocateMappedMemory( in emitIndirectStubsBlock() local166 sys::MemoryBlock StubsBlock(StubsMem.base(), NumPages * PageSize); in emitIndirectStubsBlock()167 sys::MemoryBlock PtrsBlock(static_cast<char *>(StubsMem.base()) + in emitIndirectStubsBlock()188 StubsInfo = IndirectStubsInfo(NumStubs, std::move(StubsMem)); in emitIndirectStubsBlock()240 auto StubsMem = sys::OwningMemoryBlock(sys::Memory::allocateMappedMemory( in emitIndirectStubsBlock() local248 sys::MemoryBlock StubsBlock(StubsMem.base(), NumPages * PageSize); in emitIndirectStubsBlock()249 sys::MemoryBlock PtrsBlock(static_cast<char *>(StubsMem.base()) + in emitIndirectStubsBlock()269 StubsInfo = IndirectStubsInfo(NumStubs, std::move(StubsMem)); in emitIndirectStubsBlock()508 auto StubsMem = sys::OwningMemoryBlock(sys::Memory::allocateMappedMemory( in emitIndirectStubsBlock() local516 sys::MemoryBlock StubsBlock(StubsMem.base(), NumPages * PageSize); in emitIndirectStubsBlock()[all …]