File tree Expand file tree Collapse file tree 4 files changed +34
-27
lines changed Expand file tree Collapse file tree 4 files changed +34
-27
lines changed Original file line number Diff line number Diff line change @@ -966,6 +966,9 @@ let mk_afl_inst_ratio f =
966
966
\ (advanced, see afl-fuzz docs for AFL_INST_RATIO)"
967
967
;;
968
968
969
+ let mk_alloc_check f =
970
+ " -alloc-check" , Arg. Unit f, " <ignored>"
971
+
969
972
let mk__ f =
970
973
" -" , Arg. String f,
971
974
" <file> Treat <file> as a file name (even if it starts with `-')"
@@ -1201,6 +1204,7 @@ module type Optcomp_options = sig
1201
1204
val _save_ir_after : string -> unit
1202
1205
val _probes : unit -> unit
1203
1206
val _no_probes : unit -> unit
1207
+ val _alloc_check : unit -> unit
1204
1208
end ;;
1205
1209
1206
1210
module type Opttop_options = sig
@@ -1578,6 +1582,7 @@ struct
1578
1582
mk_dump_into_file F. _dump_into_file;
1579
1583
mk_dump_dir F. _dump_dir;
1580
1584
mk_dump_pass F. _dump_pass;
1585
+ mk_alloc_check F. _alloc_check;
1581
1586
1582
1587
mk_args F. _args;
1583
1588
mk_args0 F. _args0;
@@ -2069,6 +2074,7 @@ module Default = struct
2069
2074
let _v () = Compenv. print_version_and_library " native-code compiler"
2070
2075
let _no_probes = clear probes
2071
2076
let _probes = set probes
2077
+ let _alloc_check () = ()
2072
2078
end
2073
2079
2074
2080
module Odoc_args = struct
Original file line number Diff line number Diff line change @@ -246,6 +246,7 @@ module type Optcomp_options = sig
246
246
val _save_ir_after : string -> unit
247
247
val _probes : unit -> unit
248
248
val _no_probes : unit -> unit
249
+ val _alloc_check : unit -> unit
249
250
end ;;
250
251
251
252
module type Opttop_options = sig
Original file line number Diff line number Diff line change 25
25
;; CR gyorsh: it is not clear what the ":standard" flags are, and they
26
26
;; may change depending on the version of dune.
27
27
;; Consider hard-coded flags, such as -O3.
28
- (:standard -alloc-check -caml-apply-inline-fast-path )))
28
+ (:standard -alloc-check)))
29
29
(boot
30
30
(flags
31
31
(:standard -warn-error +A))))
Original file line number Diff line number Diff line change 12
12
;* *
13
13
;**************************************************************************
14
14
15
- ; (copy_files# ../*.ml*)
16
- ;
17
- ; (library
18
- ; (name ocamltoplevel_native)
19
- ; (wrapped false)
20
- ; (modes native)
21
- ; (flags (:standard -principal))
22
- ; (libraries ocamlcommon ocamloptcomp dynlink_internal)
23
- ; (modules :standard \ topstart expunge))
24
- ;
25
- ; (executable
26
- ; (name topstart)
27
- ; (modes native)
28
- ; (flags (:standard -principal))
29
- ; (modules topstart)
30
- ; (libraries ocamltoplevel_native))
31
- ;
32
- ; (install
33
- ; (files
34
- ; (topstart.exe as ocamlnat)
35
- ; )
36
- ; (section bin)
37
- ; (package ocaml))
38
- ;
39
- ;
15
+ (copy_files# ../*.ml*)
16
+
17
+ (library
18
+ (name ocamltoplevel_native)
19
+ (wrapped false)
20
+ (modes native)
21
+ (flags (:standard -principal))
22
+ (libraries ocamlcommon ocamloptcomp dynlink_internal)
23
+ (modules :standard \ topstart expunge))
24
+
25
+ (executable
26
+ (name topstart)
27
+ (modes native)
28
+ (flags (:standard -principal))
29
+ (modules topstart)
30
+ (libraries ocamltoplevel_native))
31
+
32
+ (install
33
+ (files
34
+ (topstart.exe as ocamlnat)
35
+ )
36
+ (section bin)
37
+ (package ocaml))
38
+
39
+ ;
40
40
; (install
41
41
; (files
42
42
; (ocamltoplevel.cma as compiler-libs/ocamltoplevel.cma)
63
63
; )
64
64
; (section lib)
65
65
; (package ocaml))
66
- ;
66
+ ;
You can’t perform that action at this time.
0 commit comments