summaryrefslogtreecommitdiff
path: root/src/c_backend.mli
diff options
context:
space:
mode:
authorJon French2019-02-13 12:27:48 +0000
committerJon French2019-02-13 12:27:48 +0000
commitea39b3c674570ce5eea34067c36d5196ca201f83 (patch)
tree516e7491bc32797a4d0ac397ea47387f2b16cf1b /src/c_backend.mli
parentab3f3671d4dd682b2aee922d5a05e9455afd5849 (diff)
parent24fc989891ad266eae642815646294279e2485ca (diff)
Merge branch 'sail2' into rmem_interpreter
Diffstat (limited to 'src/c_backend.mli')
-rw-r--r--src/c_backend.mli10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/c_backend.mli b/src/c_backend.mli
index 24f6e03b..10bf9f40 100644
--- a/src/c_backend.mli
+++ b/src/c_backend.mli
@@ -56,9 +56,19 @@ open Type_check
val opt_debug_flow_graphs : bool ref
val opt_debug_function : string ref
val opt_trace : bool ref
+val opt_smt_trace : bool ref
val opt_static : bool ref
val opt_no_main : bool ref
+(** [opt_memo_cache] will store the compiled function definitions in
+ file _sbuild/ccacheDIGEST where DIGEST is the md5sum of the
+ original function to be compiled. Enabled using the -memo
+ flag. Uses Marshal so it's quite picky about the exact version of
+ the Sail version. This cache can obviously become stale if the C
+ backend changes - it'll load an old version compiled without said
+ changes. *)
+val opt_memo_cache : bool ref
+
(** Optimization flags *)
val optimize_primops : bool ref