Skip to content

Commit fb740f7

Browse files
authored
Merge pull request #6518 from tautschnig/remove-debug-level
Remove --debug-level from cbmc and jbmc
2 parents e38ca2e + bb8c158 commit fb740f7

File tree

6 files changed

+2
-12
lines changed

6 files changed

+2
-12
lines changed

jbmc/src/jbmc/jbmc_parse_options.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,6 @@ void jbmc_parse_optionst::get_command_line_options(optionst &options)
205205
if(cmdline.isset("depth"))
206206
options.set_option("depth", cmdline.get_value("depth"));
207207

208-
if(cmdline.isset("debug-level"))
209-
options.set_option("debug-level", cmdline.get_value("debug-level"));
210-
211208
if(cmdline.isset("unwindset"))
212209
options.set_option("unwindset", cmdline.get_value("unwindset"));
213210

jbmc/src/jbmc/jbmc_parse_options.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class optionst;
4444
OPT_FUNCTIONS \
4545
"(no-simplify)(full-slice)" \
4646
OPT_REACHABILITY_SLICER \
47-
"(debug-level):(no-propagation)(no-simplify-if)" \
47+
"(no-propagation)(no-simplify-if)" \
4848
"(document-subgoals)" \
4949
"(object-bits):" \
5050
"(classpath):(cp):" \

src/cbmc/cbmc_parse_options.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,9 +258,6 @@ void cbmc_parse_optionst::get_command_line_options(optionst &options)
258258
if(cmdline.isset("depth"))
259259
options.set_option("depth", cmdline.get_value("depth"));
260260

261-
if(cmdline.isset("debug-level"))
262-
options.set_option("debug-level", cmdline.get_value("debug-level"));
263-
264261
if(cmdline.isset("slice-by-trace"))
265262
{
266263
log.error() << "--slice-by-trace has been removed" << messaget::eom;

src/cbmc/cbmc_parse_options.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class optionst;
3838
OPT_FUNCTIONS \
3939
"(no-simplify)(full-slice)" \
4040
OPT_REACHABILITY_SLICER \
41-
"(debug-level):(no-propagation)(no-simplify-if)" \
41+
"(no-propagation)(no-simplify-if)" \
4242
"(document-subgoals)(test-preprocessor)" \
4343
"(show-array-constraints)" \
4444
OPT_CONFIG_C_CPP \

src/goto-symex/symex_config.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ struct symex_configt final
3636

3737
bool havoc_undefined_functions;
3838

39-
mp_integer debug_level;
40-
4139
/// \brief Should the additional validation checks be run?
4240
/// If this flag is set the checks for renaming (both level1 and level2) are
4341
/// executed in the goto_symex_statet (in the assignment method).

src/goto-symex/symex_main.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ Author: Daniel Kroening, [email protected]
2525
#include <util/mathematical_expr.h>
2626
#include <util/replace_symbol.h>
2727
#include <util/std_expr.h>
28-
#include <util/string2int.h>
2928
#include <util/symbol_table.h>
3029

3130
#include "path_storage.h"
@@ -43,7 +42,6 @@ symex_configt::symex_configt(const optionst &options)
4342
partial_loops(options.get_bool_option("partial-loops")),
4443
havoc_undefined_functions(
4544
options.get_bool_option("havoc-undefined-functions")),
46-
debug_level(unsafe_string2int(options.get_option("debug-level"))),
4745
run_validation_checks(options.get_bool_option("validate-ssa-equation")),
4846
show_symex_steps(options.get_bool_option("show-goto-symex-steps")),
4947
show_points_to_sets(options.get_bool_option("show-points-to-sets")),

0 commit comments

Comments
 (0)