File tree Expand file tree Collapse file tree 7 files changed +7
-0
lines changed
reachable-functions-basic-json
reachable-functions-basic-text Expand file tree Collapse file tree 7 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -767,6 +767,7 @@ bool generate_java_start_function(
767
767
symbolt new_symbol;
768
768
769
769
new_symbol.name =goto_functionst::entry_point ();
770
+ new_symbol.base_name = goto_functionst::entry_point ();
770
771
new_symbol.type = java_method_typet ({}, java_void_type ());
771
772
new_symbol.value .swap (init_code);
772
773
new_symbol.mode =ID_java;
Original file line number Diff line number Diff line change 10
10
--
11
11
"last line":[[:space:]]*$
12
12
^warning: ignoring
13
+ "function": ""
Original file line number Diff line number Diff line change @@ -9,3 +9,4 @@ unreachable.c not_obviously_dead 25 31$
9
9
^SIGNAL=0$
10
10
--
11
11
^warning: ignoring
12
+ ^ 35$
Original file line number Diff line number Diff line change @@ -535,6 +535,7 @@ bool generate_ansi_c_start_function(
535
535
symbolt new_symbol;
536
536
537
537
new_symbol.name =goto_functionst::entry_point ();
538
+ new_symbol.base_name = goto_functionst::entry_point ();
538
539
new_symbol.type = code_typet ({}, void_type ());
539
540
new_symbol.value .swap (init_code);
540
541
new_symbol.mode =symbol.mode ;
Original file line number Diff line number Diff line change @@ -152,6 +152,7 @@ bool jsil_entry_point(
152
152
symbolt new_symbol;
153
153
154
154
new_symbol.name =goto_functionst::entry_point ();
155
+ new_symbol.base_name = goto_functionst::entry_point ();
155
156
new_symbol.type = code_typet ({}, empty_typet ());
156
157
new_symbol.value .swap (init_code);
157
158
Original file line number Diff line number Diff line change @@ -180,6 +180,7 @@ bool generate_statement_list_start_function(
180
180
// Add the start symbol.
181
181
symbolt start_symbol;
182
182
start_symbol.name = goto_functionst::entry_point ();
183
+ start_symbol.base_name = goto_functionst::entry_point ();
183
184
start_symbol.type = code_typet ({}, empty_typet{});
184
185
start_symbol.value .swap (start_function_body);
185
186
start_symbol.mode = main.mode ;
Original file line number Diff line number Diff line change @@ -233,6 +233,7 @@ SCENARIO(
233
233
234
234
symbolt start;
235
235
start.name = goto_functionst::entry_point ();
236
+ start.base_name = goto_functionst::entry_point ();
236
237
start.mode = ID_C;
237
238
start.type = code_typet ({}, empty_typet ());
238
239
start.value = make_void_call (f.symbol_expr ());
You can’t perform that action at this time.
0 commit comments