gems-kernel/source/THIRDPARTY/xnu/bsd/pgo/profile_runtime_data.c

20 lines
340 B
C
Raw Normal View History

2024-06-03 16:29:39 +00:00
#include <mach/vm_param.h>
/*
* This tells compiler_rt not to include userspace-specific stuff writing
* profile data to a file.
*/
int __llvm_profile_runtime = 0;
/* compiler-rt requires this. It uses it to page-align
* certain things inside its buffers.
*/
extern int getpagesize(void);
int
getpagesize()
{
return PAGE_SIZE;
}