aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJason Gross2015-06-23 10:12:41 +0200
committerJason Gross2016-06-05 22:09:39 -0400
commit9ff2c9d8d042c9989b6a8138c308398c49ae116f (patch)
treeab6abf0403a4db27fef257393795111284da20ae /tools
parent45748e4efae8630cc13b0199dfcc9803341e8cd8 (diff)
LtacProf for Coq trunk
This add LtacProfiling. Much of the code was written by Tobias Tebbi (@tebbi), and Paul A. Steckler was invaluable in porting the code to Coq v8.5 and Coq trunk.
Diffstat (limited to 'tools')
-rw-r--r--tools/coq_makefile.ml5
-rw-r--r--tools/coqc.ml2
2 files changed, 4 insertions, 3 deletions
diff --git a/tools/coq_makefile.ml b/tools/coq_makefile.ml
index 7b76514e46..91bb88753b 100644
--- a/tools/coq_makefile.ml
+++ b/tools/coq_makefile.ml
@@ -49,8 +49,9 @@ let section s =
let lib_dirs =
["kernel"; "lib"; "library"; "parsing";
"pretyping"; "interp"; "printing"; "intf";
- "proofs"; "tactics"; "tools"; "toplevel";
- "stm"; "grammar"; "config"; "ltac"; "engine"]
+ "proofs"; "tactics"; "tools"; "ltacprof";
+ "toplevel"; "stm"; "grammar"; "config";
+ "ltac"; "engine"]
let usage () =
diff --git a/tools/coqc.ml b/tools/coqc.ml
index f957200ab5..7210efc4fb 100644
--- a/tools/coqc.ml
+++ b/tools/coqc.ml
@@ -88,7 +88,7 @@ let parse_args () =
(* Options for coqtop : a) options with 0 argument *)
- | ("-notactics"|"-bt"|"-debug"|"-nolib"|"-boot"|"-time"
+ | ("-notactics"|"-bt"|"-debug"|"-nolib"|"-boot"|"-time"|"-profileltac"
|"-batch"|"-noinit"|"-nois"|"-noglob"|"-no-glob"
|"-q"|"-full"|"-profile"|"-just-parsing"|"-echo" |"-unsafe"|"-quiet"
|"-silent"|"-m"|"-xml"|"-v7"|"-v8"|"-beautify"|"-strict-implicit"