Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/ExecutionEngine/
H A DSectionMemoryManager.cpp207 if (std::error_code EC = MMapper.protectMappedMemory(MB, Permissions)) in applyMemoryGroupPermissions()
257 std::error_code protectMappedMemory(const sys::MemoryBlock &Block, in protectMappedMemory() function in llvm::__anona643bf420311::DefaultMMapper
259 return sys::Memory::protectMappedMemory(Block, Flags); in protectMappedMemory()
/llvm-project-15.0.7/llvm/unittests/Support/
H A DMemoryTest.cpp266 EXPECT_FALSE(Memory::protectMappedMemory(M1, getTestableEquivalent(Flags))); in TEST_P()
267 EXPECT_FALSE(Memory::protectMappedMemory(M2, getTestableEquivalent(Flags))); in TEST_P()
268 EXPECT_FALSE(Memory::protectMappedMemory(M3, getTestableEquivalent(Flags))); in TEST_P()
296 Memory::protectMappedMemory(M4, getTestableEquivalent(Flags))); in TEST_P()
/llvm-project-15.0.7/llvm/lib/Support/Unix/
H A DMemory.inc143 // Rely on protectMappedMemory to invalidate instruction cache.
145 EC = Memory::protectMappedMemory (Result, PFlags);
168 Memory::protectMappedMemory(const MemoryBlock &M, unsigned Flags) {
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/
H A DSectionMemoryManager.h89 virtual std::error_code protectMappedMemory(const sys::MemoryBlock &Block,
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DMemory.h127 static std::error_code protectMappedMemory(const MemoryBlock &Block,
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/Orc/
H A DIndirectionUtils.h154 EC = sys::Memory::protectMappedMemory(ResolverBlock.getMemoryBlock(), in LocalTrampolinePool()
187 if (auto EC = sys::Memory::protectMappedMemory( in grow()
343 if (auto EC = sys::Memory::protectMappedMemory( in create()
/llvm-project-15.0.7/llvm/unittests/ExecutionEngine/Orc/
H A DEPCGenericJITLinkMemoryManagerTest.cpp47 if (auto EC = sys::Memory::protectMappedMemory( in finalize()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/TargetProcess/
H A DSimpleExecutorMemoryManager.cpp133 if (auto EC = sys::Memory::protectMappedMemory( in finalize()
/llvm-project-15.0.7/llvm/lib/Support/Windows/
H A DMemory.inc170 std::error_code Memory::protectMappedMemory(const MemoryBlock &M,
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/
H A DMemoryMapper.cpp74 if (auto EC = sys::Memory::protectMappedMemory({Base.toPtr<void *>(), Size}, in initialize()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/
H A DJITLinkMemoryManager.cpp287 if (auto EC = sys::Memory::protectMappedMemory(MB, Prot)) in applyProtections()
/llvm-project-15.0.7/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp606 if (auto EC = sys::Memory::protectMappedMemory(FM_MB, in executeInput()
/llvm-project-15.0.7/llvm/tools/llvm-jitlink/
H A Dllvm-jitlink.cpp520 if (auto EC = sys::Memory::protectMappedMemory(MB, Prot)) in allocate()