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.

15 lines
237 B

// clang -c -g -o dwarfdump-test-32bit.elf.o -m32 dwarfdump-test-32bit.elf.c
extern int glob;
int foo(int arg) {
int a = arg * 2;
return a + glob;
}
int bar(int arg) {
int a = foo(arg) * foo(arg * 2);
return glob - foo(a);
}