Page MenuHomePhabricator

D64769.diff
No OneTemporary

File Metadata

Created
Mon, Mar 30, 12:48 PM

D64769.diff

Index: lldb/packages/Python/lldbsuite/test/lang/c/global_variables/main.c
===================================================================
--- lldb/packages/Python/lldbsuite/test/lang/c/global_variables/main.c
+++ lldb/packages/Python/lldbsuite/test/lang/c/global_variables/main.c
@@ -20,5 +20,6 @@
g_common_1 = g_file_global_int / g_file_static_int;
static const char *g_func_static_cstr = "g_func_static_cstr";
printf ("%s %s\n", g_file_global_cstr, g_file_static_cstr);
- return g_file_global_int + g_a + g_common_1 + *g_ptr; // Set break point at this line. //// break $source:$line; continue; var -global g_a -global g_global_int
+ int return_val = g_file_global_int + g_a + g_common_1 + *g_ptr;
+ return return_val; // Set break point at this line. //// break $source:$line; continue; var -global g_a -global g_global_int
}

Event Timeline