| 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 | } |
| 20 |