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(
767767 symbolt new_symbol;
768768
769769 new_symbol.name =goto_functionst::entry_point ();
770+ new_symbol.base_name = goto_functionst::entry_point ();
770771 new_symbol.type = java_method_typet ({}, java_void_type ());
771772 new_symbol.value .swap (init_code);
772773 new_symbol.mode =ID_java;
Original file line number Diff line number Diff line change 1010--
1111"last line":[[:space:]]*$
1212^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$
99^SIGNAL=0$
1010--
1111^warning: ignoring
12+ ^ 35$
Original file line number Diff line number Diff line change @@ -544,6 +544,7 @@ bool generate_ansi_c_start_function(
544544 symbolt new_symbol;
545545
546546 new_symbol.name =goto_functionst::entry_point ();
547+ new_symbol.base_name = goto_functionst::entry_point ();
547548 new_symbol.type = code_typet ({}, void_type ());
548549 new_symbol.value .swap (init_code);
549550 new_symbol.mode =symbol.mode ;
Original file line number Diff line number Diff line change @@ -152,6 +152,7 @@ bool jsil_entry_point(
152152 symbolt new_symbol;
153153
154154 new_symbol.name =goto_functionst::entry_point ();
155+ new_symbol.base_name = goto_functionst::entry_point ();
155156 new_symbol.type = code_typet ({}, empty_typet ());
156157 new_symbol.value .swap (init_code);
157158
Original file line number Diff line number Diff line change @@ -180,6 +180,7 @@ bool generate_statement_list_start_function(
180180 // Add the start symbol.
181181 symbolt start_symbol;
182182 start_symbol.name = goto_functionst::entry_point ();
183+ start_symbol.base_name = goto_functionst::entry_point ();
183184 start_symbol.type = code_typet ({}, empty_typet{});
184185 start_symbol.value .swap (start_function_body);
185186 start_symbol.mode = main.mode ;
Original file line number Diff line number Diff line change @@ -233,6 +233,7 @@ SCENARIO(
233233
234234 symbolt start;
235235 start.name = goto_functionst::entry_point ();
236+ start.base_name = goto_functionst::entry_point ();
236237 start.mode = ID_C;
237238 start.type = code_typet ({}, empty_typet ());
238239 start.value = make_void_call (f.symbol_expr ());
You can’t perform that action at this time.
0 commit comments