Debian Codegraph @

test/testfiles_for_readelf/gcc48-simple.src.c

raw
1 /* Generated by compiling with gcc 4.8 as follows:
2 **
3 ** gcc-4.8 -O0 -g -fno-dwarf2-cfi-asm -c dwarf4_simple.c -o gcc48-simple.
4 **
5 ** Note: -fno-dwarf2-cfi-asm to tell gcc to generate .dwarf_frames as well
6 ** as the .eh_frames it generates by default.
7 **
8 */
9
10 extern int bar(int);
11 extern int baz(int);
12
13 int foo(int v) {
14 int x = bar(v);
15 int i;
16 for (i = 0; i < v; ++i)
17 x += bar(i) + bar(v) * baz(i);
18 return x;
19 }