Files
clang-p2996/lldb/test/lang/c/const_variables/main.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

20 lines
187 B
C

#include <stdint.h>
extern int foo();
extern int bar();
extern int baaz(int i);
int main()
{
int32_t index;
foo();
index = 512;
if (bar())
index = 256;
baaz(index);
}