0, /* no opt profile */
0, /* disable mris */
1, /* try to omit frame pointer */
+ 1, /* always stabs debugging output */
BE_VRFY_WARN, /* verification level: warn */
"i44pc52.info.uni-karlsruhe.de", /* ilp server */
"cplex" /* ilp solver */
LC_OPT_ENT_ENUM_PTR ("ra", "register allocator", &ra_var),
LC_OPT_ENT_ENUM_PTR ("isa", "the instruction set architecture", &isa_var),
LC_OPT_ENT_NEGBOOL ("noomitfp", "do not omit frame pointer", &be_options.omit_fp),
+ LC_OPT_ENT_BOOL ("stabs", "enable stabs debug support", &be_options.stabs_debug_support),
LC_OPT_ENT_ENUM_PTR ("vrfy", "verify the backend irg (off, warn, assert)", &vrfy_var),
LC_OPT_ENT_BOOL ("time", "get backend timing statistics", &be_options.timing),
LC_OPT_ENT_BOOL ("profile", "instrument the code for execution count profiling", &be_options.opt_profile),
env->phi_handler = be_phi_handler_new(env->arch_env);
arch_env_push_irn_handler(env->arch_env, env->phi_handler);
- env->db_handle = be_stabs_open(file_handle);
+ env->db_handle = be_options.stabs_debug_support ? be_stabs_open(file_handle) : be_nulldbg_open();
return env;
}
be_irg_t *birgs;
unsigned num_birgs;
+ be_ra_timer_t *ra_timer;
+
#ifdef WITH_LIBCORE
lc_timer_t *t_abi = NULL;
lc_timer_t *t_codegen = NULL;
lc_timer_t *t_emit = NULL;
lc_timer_t *t_other = NULL;
lc_timer_t *t_verify = NULL;
- be_ra_timer_t *ra_timer;
if (be_options.timing == BE_TIME_ON) {
t_abi = lc_timer_register("beabi", "be abi introduction");