summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/DataBufferMemoryMap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Core/DataBufferMemoryMap.cpp')
-rw-r--r--lldb/source/Core/DataBufferMemoryMap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/DataBufferMemoryMap.cpp b/lldb/source/Core/DataBufferMemoryMap.cpp
index a6c6f8aeeeb..db674ee5b73 100644
--- a/lldb/source/Core/DataBufferMemoryMap.cpp
+++ b/lldb/source/Core/DataBufferMemoryMap.cpp
@@ -171,7 +171,7 @@ DataBufferMemoryMap::MemoryMapFromFileDescriptor (int fd,
if (writeable)
prot |= PROT_WRITE;
- int flags = MAP_SHARED;
+ int flags = MAP_PRIVATE;
if (fd_is_file)
flags |= MAP_FILE;
OpenPOWER on IntegriCloud