mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-10 22:55:57 +00:00
15 lines
237 B
C
15 lines
237 B
C
|
// 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);
|
||
|
}
|
||
|
|