]> git.saurik.com Git - apple/xnu.git/blob - bsd/pgo/profile_runtime_data.c
xnu-7195.50.7.100.1.tar.gz
[apple/xnu.git] / bsd / pgo / profile_runtime_data.c
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 */
7 int __llvm_profile_runtime = 0;
8
9 /* compiler-rt requires this. It uses it to page-align
10 * certain things inside its buffers.
11 */
12
13 extern int getpagesize(void);
14
15 int
16 getpagesize()
17 {
18 return PAGE_SIZE;
19 }