File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 21
21
#include < langapi/mode.h>
22
22
#include < langapi/language_ui.h>
23
23
24
+ #include < goto-programs/rebuild_goto_start_function.h>
25
+
24
26
#include " goto_convert_functions.h"
25
27
#include " read_goto_binary.h"
26
28
@@ -131,6 +133,20 @@ bool initialize_goto_model(
131
133
return true ;
132
134
}
133
135
136
+ if (cmdline.isset (" function" ))
137
+ {
138
+ const std::string &function_id=cmdline.get_value (" function" );
139
+ rebuild_goto_start_functiont start_function_rebuilder (
140
+ msg.get_message_handler (),
141
+ goto_model.symbol_table ,
142
+ goto_model.goto_functions );
143
+
144
+ if (start_function_rebuilder (function_id))
145
+ {
146
+ return 6 ;
147
+ }
148
+ }
149
+
134
150
msg.status () << " Generating GOTO Program" << messaget::eom;
135
151
136
152
goto_convert (
You can’t perform that action at this time.
0 commit comments