From 0eb0ec298c6c7029152c3f97f7b1e7b0db297bf7 Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Tue, 4 Nov 2014 21:28:50 +0000 Subject: Fix a problem where ValueObjectVariable was not correctly setting its 'has value changed' flag for scalar valued variables. This fixes rdar://17851144 llvm-svn: 221298 --- lldb/test/python_api/value_var_update/main.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 lldb/test/python_api/value_var_update/main.c (limited to 'lldb/test/python_api/value_var_update/main.c') diff --git a/lldb/test/python_api/value_var_update/main.c b/lldb/test/python_api/value_var_update/main.c new file mode 100644 index 00000000000..115bc10a372 --- /dev/null +++ b/lldb/test/python_api/value_var_update/main.c @@ -0,0 +1,9 @@ +int main() { + int i = 0; + for (int j = 3; j < 20; j++) + { + i += j; + i = i - 1; // break here + } + return i; +} -- cgit v1.2.3