rustc::session::config::DB_OPTIONS [] [src]

pub const DB_OPTIONS: &'static [(&'static str, DebuggingSetter, Option<&'static str>, &'static str)] = &[("verbose", dbsetters::verbose, db_type_desc::parse_bool,
   "in general, enable more debug printouts"),
  ("time_passes", dbsetters::time_passes, db_type_desc::parse_bool,
   "measure time of each rustc pass"),
  ("count_llvm_insns", dbsetters::count_llvm_insns, db_type_desc::parse_bool,
   "count where LLVM instrs originate"),
  ("time_llvm_passes", dbsetters::time_llvm_passes, db_type_desc::parse_bool,
   "measure time of each LLVM pass"),
  ("input_stats", dbsetters::input_stats, db_type_desc::parse_bool,
   "gather statistics about the input"),
  ("trans_stats", dbsetters::trans_stats, db_type_desc::parse_bool,
   "gather trans statistics"),
  ("asm_comments", dbsetters::asm_comments, db_type_desc::parse_bool,
   "generate comments into the assembly (may change behavior)"),
  ("no_verify", dbsetters::no_verify, db_type_desc::parse_bool,
   "skip LLVM verification"),
  ("borrowck_stats", dbsetters::borrowck_stats, db_type_desc::parse_bool,
   "gather borrowck statistics"),
  ("no_landing_pads", dbsetters::no_landing_pads, db_type_desc::parse_bool,
   "omit landing pads for unwinding"),
  ("debug_llvm", dbsetters::debug_llvm, db_type_desc::parse_bool,
   "enable debug output from LLVM"),
  ("count_type_sizes", dbsetters::count_type_sizes, db_type_desc::parse_bool,
   "count the sizes of aggregate types"),
  ("meta_stats", dbsetters::meta_stats, db_type_desc::parse_bool,
   "gather metadata statistics"),
  ("print_link_args", dbsetters::print_link_args, db_type_desc::parse_bool,
   "print the arguments passed to the linker"),
  ("gc", dbsetters::gc, db_type_desc::parse_bool,
   "garbage collect shared data (experimental)"),
  ("print_llvm_passes", dbsetters::print_llvm_passes,
   db_type_desc::parse_bool, "prints the llvm optimization passes being run"),
  ("ast_json", dbsetters::ast_json, db_type_desc::parse_bool,
   "print the AST as JSON and halt"),
  ("ast_json_noexpand", dbsetters::ast_json_noexpand,
   db_type_desc::parse_bool, "print the pre-expansion AST as JSON and halt"),
  ("ls", dbsetters::ls, db_type_desc::parse_bool,
   "list the symbols defined by a library crate"),
  ("save_analysis", dbsetters::save_analysis, db_type_desc::parse_bool,
   "write syntax and type analysis (in JSON format) information in addition to normal output"),
  ("save_analysis_csv", dbsetters::save_analysis_csv,
   db_type_desc::parse_bool,
   "write syntax and type analysis (in CSV format) information in addition to normal output"),
  ("print_move_fragments", dbsetters::print_move_fragments,
   db_type_desc::parse_bool, "print out move-fragment data for every fn"),
  ("flowgraph_print_loans", dbsetters::flowgraph_print_loans,
   db_type_desc::parse_bool,
   "include loan analysis data in --unpretty flowgraph output"),
  ("flowgraph_print_moves", dbsetters::flowgraph_print_moves,
   db_type_desc::parse_bool,
   "include move analysis data in --unpretty flowgraph output"),
  ("flowgraph_print_assigns", dbsetters::flowgraph_print_assigns,
   db_type_desc::parse_bool,
   "include assignment analysis data in --unpretty flowgraph output"),
  ("flowgraph_print_all", dbsetters::flowgraph_print_all,
   db_type_desc::parse_bool,
   "include all dataflow analysis data in --unpretty flowgraph output"),
  ("print_region_graph", dbsetters::print_region_graph,
   db_type_desc::parse_bool,
   "prints region inference graph. Use with RUST_REGION_GRAPH=help for more info"),
  ("parse_only", dbsetters::parse_only, db_type_desc::parse_bool,
   "parse only; do not compile, assemble, or link"),
  ("no_trans", dbsetters::no_trans, db_type_desc::parse_bool,
   "run all passes except translation; no output"),
  ("treat_err_as_bug", dbsetters::treat_err_as_bug, db_type_desc::parse_bool,
   "treat all errors that occur as bugs"),
  ("continue_parse_after_error", dbsetters::continue_parse_after_error,
   db_type_desc::parse_bool,
   "attempt to recover from parse errors (experimental)"),
  ("incremental", dbsetters::incremental, db_type_desc::parse_opt_string,
   "enable incremental compilation (experimental)"),
  ("dump_dep_graph", dbsetters::dump_dep_graph, db_type_desc::parse_bool,
   "dump the dependency graph to $RUST_DEP_GRAPH (default: /tmp/dep_graph.gv)"),
  ("query_dep_graph", dbsetters::query_dep_graph, db_type_desc::parse_bool,
   "enable queries of the dependency graph for regression testing"),
  ("no_analysis", dbsetters::no_analysis, db_type_desc::parse_bool,
   "parse and expand the source, but run no analysis"),
  ("extra_plugins", dbsetters::extra_plugins, db_type_desc::parse_list,
   "load extra plugins"),
  ("unstable_options", dbsetters::unstable_options, db_type_desc::parse_bool,
   "adds unstable command line options to rustc interface"),
  ("print_enum_sizes", dbsetters::print_enum_sizes, db_type_desc::parse_bool,
   "print the size of enums and their variants"),
  ("force_overflow_checks", dbsetters::force_overflow_checks,
   db_type_desc::parse_opt_bool, "force overflow checks on or off"),
  ("force_dropflag_checks", dbsetters::force_dropflag_checks,
   db_type_desc::parse_opt_bool, "force drop flag checks on or off"),
  ("trace_macros", dbsetters::trace_macros, db_type_desc::parse_bool,
   "for every macro invocation, print its name and arguments"),
  ("enable_nonzeroing_move_hints", dbsetters::enable_nonzeroing_move_hints,
   db_type_desc::parse_bool, "force nonzeroing move optimization on"),
  ("keep_mtwt_tables", dbsetters::keep_mtwt_tables, db_type_desc::parse_bool,
   "don\'t clear the resolution tables after analysis"),
  ("keep_ast", dbsetters::keep_ast, db_type_desc::parse_bool,
   "keep the AST after lowering it to HIR"),
  ("show_span", dbsetters::show_span, db_type_desc::parse_opt_string,
   "show spans for compiler debugging (expr|pat|ty)"),
  ("print_trans_items", dbsetters::print_trans_items,
   db_type_desc::parse_opt_string,
   "print the result of the translation item collection pass"),
  ("mir_opt_level", dbsetters::mir_opt_level, db_type_desc::parse_opt_uint,
   "set the MIR optimization level (0-3)"),
  ("dump_mir", dbsetters::dump_mir, db_type_desc::parse_opt_string,
   "dump MIR state at various points in translation"),
  ("orbit", dbsetters::orbit, db_type_desc::parse_bool,
   "get MIR where it belongs - everywhere; most importantly, in orbit")]
Unstable (rustc_private)