| 1 |
/* |
| 2 |
To compile: |
| 3 |
Linux x86-64 |
| 4 |
gcc version 8.3.0 |
| 5 |
|
| 6 |
gcc -gdwarf-2 -O2 -c llpaira.c |
| 7 |
gcc -gdwarf-5 -O2 -o dwarf_llpair.elf llpair.c llpaira.o |
| 8 |
*/ |
| 9 |
#include <stdlib.h> |
| 10 |
#include <stdio.h> |
| 11 |
|
| 12 |
extern void a(int n); |
| 13 |
|
| 14 |
void b(int n) |
| 15 |
{ |
| 16 |
int i; |
| 17 |
for(i=0;i<n;i++) |
| 18 |
printf("%d\n", i*i); |
| 19 |
printf("%d\n", rand()*rand()*rand() + rand()*rand() + rand()); |
| 20 |
for(i=0;i<10;i++) |
| 21 |
printf("%d\n", i*i+76543*i); |
| 22 |
printf("%d\n", n); |
| 23 |
} |
| 24 |
|
| 25 |
int main() |
| 26 |
{ |
| 27 |
b(rand()); |
| 28 |
return 0; |
| 29 |
} |