Home
last modified time | relevance | path

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

/src/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/
H A DExecutorSharedMemoryMapperService.cpp157 int NativeProt = 0; in initialize() local
159 NativeProt |= PROT_READ; in initialize()
161 NativeProt |= PROT_WRITE; in initialize()
163 NativeProt |= PROT_EXEC; in initialize()
165 if (mprotect(Segment.Addr.toPtr<void *>(), Segment.Size, NativeProt)) in initialize()
171 DWORD NativeProt = getWindowsProtectionFlags(Segment.RAG.Prot); in initialize() local
173 if (!VirtualProtect(Segment.Addr.toPtr<void *>(), Segment.Size, NativeProt, in initialize()
174 &NativeProt)) in initialize()