summaryrefslogtreecommitdiff
path: root/driver/Driver.ml
diff options
context:
space:
mode:
Diffstat (limited to 'driver/Driver.ml')
-rw-r--r--driver/Driver.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/driver/Driver.ml b/driver/Driver.ml
index 8853794..e768fa2 100644
--- a/driver/Driver.ml
+++ b/driver/Driver.ml
@@ -457,6 +457,7 @@ Tracing options:
General options:
-stdlib <dir> Set the path of the Compcert run-time library
-v Print external commands before invoking them
+ -timings Show the time spent in various compiler passes
Interpreter mode:
-interp Execute given .c files using the reference interpreter
-quiet Suppress diagnostic messages for the interpreter
@@ -529,6 +530,7 @@ let cmdline_actions =
push_linker_arg s);
"-Os$", Set option_Osize;
"-O$", Unset option_Osize;
+ "-timings$", Set option_timings;
"-fsmall-data$", Integer(fun n -> option_small_data := n);
"-fsmall-const$", Integer(fun n -> option_small_const := n);
"-ffloat-const-prop$", Integer(fun n -> option_ffloatconstprop := n);