[SectionMemoryManager] Abstract out mmap, munmap, mprotect even more ; NFC
authorSanjoy Das <sanjoy@playingwithpointers.com>
Thu, 9 Nov 2017 06:31:33 +0000 (06:31 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Thu, 9 Nov 2017 06:31:33 +0000 (06:31 +0000)
commite3992c6328002659110f668f70cbba2c80e551fa
tree1b65adfb563e4c0b4c81d3190011395c2a592344
parent7a6e294a6c02b5670d1906331b7d8e923a6d92de
[SectionMemoryManager] Abstract out mmap, munmap, mprotect even more ; NFC

Summary:
This will let ORC JIT clients plug in custom logic for the mmap, munmap and
mprotect paths.

Reviewers: loladiro, dblaikie

Subscribers: mcrosier, llvm-commits

Differential Revision: https://reviews.llvm.org/D39300

llvm-svn: 317770
llvm/include/llvm/ExecutionEngine/SectionMemoryManager.h
llvm/lib/ExecutionEngine/SectionMemoryManager.cpp