Files
clang-p2996/lldb/test/lang/c/const_variables/functions.c
Sean Callanan 7b5805d0d1 Made the expression handle variables with
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
2013-01-18 21:20:51 +00:00

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);
}