]> git.saurik.com Git - apple/xnu.git/blame_incremental - tools/tests/execperf/exit.c
xnu-7195.101.1.tar.gz
[apple/xnu.git] / tools / tests / execperf / exit.c
... / ...
CommitLineData
1#include <stdlib.h>
2
3int
4main(int artc, char *argv[])
5{
6#if defined(__x86_64__)
7 asm volatile ("andq $0xfffffffffffffff0, %rsp\n");
8#elif defined(__i386__)
9 asm volatile ("andl $0xfffffff0, %esp\n");
10#elif defined(__arm__) || defined(__arm64__)
11 asm volatile ("");
12#else
13#error Unsupported architecture
14#endif
15 _Exit(42);
16}