ravitheja added inline comments.
================ Comment at: source/Plugins/Process/Linux/NativeProcessLinux.cpp:3009-3010 + errno = 0; + m_mmap_base = + mmap(NULL, (metabufsize + page_size), PROT_WRITE, MAP_SHARED, m_fd, 0); + if (m_mmap_base == MAP_FAILED) { ---------------- zturner wrote: > Perhaps you can use `llvm::MemoryBuffer` here? It mmaps internally In my case, I only want to allocate it using mmap with the options i use here, with `llvm::MemoryBuffer` I see no option to force it to only use mmap and with the options i need ? https://reviews.llvm.org/D33674 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits