aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopSimplify.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2013-05-20 17:05:29 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2013-05-20 17:05:29 +0000
commitb69b8a4a8f75f768494596c3f32b8afe73788d7e (patch)
tree22f822b58553feac271573c7a996fda2e3231cd8 /llvm/lib/Transforms/Utils/LoopSimplify.cpp
parent885b4b71be41dc68a5029dfdec660c09b18e8f9c (diff)
downloadllvm-b69b8a4a8f75f768494596c3f32b8afe73788d7e.zip
llvm-b69b8a4a8f75f768494596c3f32b8afe73788d7e.tar.gz
llvm-b69b8a4a8f75f768494596c3f32b8afe73788d7e.tar.bz2
[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
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopSimplify.cpp')
0 files changed, 0 insertions, 0 deletions