Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/
H A DExecutorSharedMemoryMapperService.cpp134 int NativeProt = 0; in initialize() local
136 NativeProt |= PROT_READ; in initialize()
138 NativeProt |= PROT_WRITE; in initialize()
140 NativeProt |= PROT_EXEC; in initialize()
142 if (mprotect(Segment.Addr.toPtr<void *>(), Segment.Size, NativeProt)) in initialize()
147 DWORD NativeProt = getWindowsProtectionFlags(Segment.RAG.Prot); in initialize() local
149 if (!VirtualProtect(Segment.Addr.toPtr<void *>(), Segment.Size, NativeProt, in initialize()
150 &NativeProt)) in initialize()