You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
315 B
20 lines
315 B
// gcc -g -O2 -o entry_value entry_value.c
|
|
int __attribute__((noinline, noclone)) foo (int x, int y)
|
|
{
|
|
return x + y;
|
|
}
|
|
|
|
int __attribute__((noinline, noclone)) bar (int x, int y)
|
|
{
|
|
int z;
|
|
z = foo (x, y);
|
|
z += foo (y, x);
|
|
return z;
|
|
}
|
|
|
|
int
|
|
main (int argc, char **argv)
|
|
{
|
|
return bar (argc + 1, argc - 1);
|
|
}
|