| commit | b69b8a4a8f75f768494596c3f32b8afe73788d7e | [log] [tgz] |
|---|---|---|
| author | Peter Collingbourne <peter@pcc.me.uk> | Mon May 20 17:05:29 2013 +0000 |
| committer | Peter Collingbourne <peter@pcc.me.uk> | Mon May 20 17:05:29 2013 +0000 |
| tree | 22f822b58553feac271573c7a996fda2e3231cd8 | |
| parent | 885b4b71be41dc68a5029dfdec660c09b18e8f9c [diff] |
[nolibc] Move GetPageSize to the individual platforms. GetPageSize wraps sysconf(_SC_PAGESIZE) on POSIX platforms, but sysconf resides in libc. To make this libc-independent on Linux, move the wrapper to sanitizer_mac.cc and return the Linux-specific constant EXEC_PAGESIZE in the sanitizer_linux.cc implementation. llvm-svn: 182303