diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-07-06 19:24:27 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-07-06 19:24:27 +0200 |
commit | e93b4d20d88ab70489e4daad5e8640b34d06b28f (patch) | |
tree | 725bd739c964658b7f9c1fb9835523f10b79b857 /compilerplugins/clang/unusedmethodsremove.cxx | |
parent | 3004221e47918eb08cfa98ba43a23a0b25412cd5 (diff) |
No MAP_POPULATE on Mac OS X
Change-Id: I6a0b8bbeec94fe19b609542550f9cce783daef20
Diffstat (limited to 'compilerplugins/clang/unusedmethodsremove.cxx')
-rw-r--r-- | compilerplugins/clang/unusedmethodsremove.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/unusedmethodsremove.cxx b/compilerplugins/clang/unusedmethodsremove.cxx index 908773316ac2..01b71b1cbad3 100644 --- a/compilerplugins/clang/unusedmethodsremove.cxx +++ b/compilerplugins/clang/unusedmethodsremove.cxx @@ -59,7 +59,7 @@ UnusedMethodsRemove::UnusedMethodsRemove(InstantiationData const & data): Rewrit mmapFD = open(sInputFile, O_RDONLY, 0); assert(mmapFD != -1); //Execute mmap - mmappedData = static_cast<char*>(mmap(NULL, mmapFilesize, PROT_READ, MAP_PRIVATE | MAP_POPULATE, mmapFD, 0)); + mmappedData = static_cast<char*>(mmap(NULL, mmapFilesize, PROT_READ, MAP_PRIVATE, mmapFD, 0)); assert(mmappedData != NULL); } |