mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 22:33:03 +00:00
Steal GCC's --time-report support.
* lib/timevar.c, lib/timevar.h, lib/timevar.def: New, stolen/adjusted from GCC. * m4/stage.m4: Remove time related checks. * m4/timevar.m4: New. * configure.in: Adjust. * src/system.h: Adjust to using timevar.h. * src/getargs.h, src/getargs.c: Support trace_time for --trace=time. * src/main.c (stage): Remove. (main): Replace `stage' invocations with timevar calls. * src/output.c: Insert pertinent timevar calls.
This commit is contained in:
@@ -45,6 +45,7 @@ enum trace_e
|
||||
trace_tools = 1 << 3,
|
||||
trace_automaton = 1 << 4,
|
||||
trace_grammar = 1 << 5,
|
||||
trace_time = 1 << 6,
|
||||
trace_all = ~0
|
||||
};
|
||||
extern int trace_flag;
|
||||
|
||||
Reference in New Issue
Block a user