comparison test/DebugInfo/Inputs/dwarfdump-test-32bit.elf.c @ 0:95c75e76d11b LLVM3.4

LLVM 3.4
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Thu, 12 Dec 2013 13:56:28 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:95c75e76d11b
1 // clang -c -g -o dwarfdump-test-32bit.elf.o -m32 dwarfdump-test-32bit.elf.c
2
3 extern int glob;
4
5 int foo(int arg) {
6 int a = arg * 2;
7 return a + glob;
8 }
9
10 int bar(int arg) {
11 int a = foo(arg) * foo(arg * 2);
12 return glob - foo(a);
13 }
14