DW_AT_const_value instead of a location. Also added a testcase covering "frame variable," "expr" using the IR interpreter, and "expr" using the LLVM JIT. <rdar://problem/12978195> llvm-svn: 172848
19 lines
179 B
C
19 lines
179 B
C
#include <stdio.h>
|
|
|
|
void foo()
|
|
{
|
|
printf("foo()\n");
|
|
}
|
|
|
|
int bar()
|
|
{
|
|
int ret = 3;
|
|
printf("bar()->%d\n", ret);
|
|
return ret;
|
|
}
|
|
|
|
void baaz(int i)
|
|
{
|
|
printf("baaz(%d)\n", i);
|
|
}
|