summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mcmarkup/llvm-mcmarkup.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/tools/llvm-mcmarkup/llvm-mcmarkup.cpp
parent885b4b71be41dc68a5029dfdec660c09b18e8f9c (diff)
downloadbcm5719-llvm-b69b8a4a8f75f768494596c3f32b8afe73788d7e.tar.gz
bcm5719-llvm-b69b8a4a8f75f768494596c3f32b8afe73788d7e.zip
[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/tools/llvm-mcmarkup/llvm-mcmarkup.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud