]> git.saurik.com Git - apple/xnu.git/blame_incremental - bsd/pgo/profile_runtime_data.c
xnu-7195.101.1.tar.gz
[apple/xnu.git] / bsd / pgo / profile_runtime_data.c
... / ...
CommitLineData
1#include <mach/vm_param.h>
2
3/*
4 * This tells compiler_rt not to include userspace-specific stuff writing
5 * profile data to a file.
6 */
7int __llvm_profile_runtime = 0;
8
9/* compiler-rt requires this. It uses it to page-align
10 * certain things inside its buffers.
11 */
12
13extern int getpagesize(void);
14
15int
16getpagesize()
17{
18 return PAGE_SIZE;
19}