File tree Expand file tree Collapse file tree 4 files changed +32
-25
lines changed Expand file tree Collapse file tree 4 files changed +32
-25
lines changed Original file line number Diff line number Diff line change @@ -940,6 +940,9 @@ let mk_afl_inst_ratio f =
940
940
\ (advanced, see afl-fuzz docs for AFL_INST_RATIO)"
941
941
;;
942
942
943
+ let mk_alloc_check f =
944
+ " -alloc-check" , Arg. Unit f, " <ignored>"
945
+
943
946
let mk__ f =
944
947
" -" , Arg. String f,
945
948
" <file> Treat <file> as a file name (even if it starts with `-')"
@@ -1172,6 +1175,7 @@ module type Optcomp_options = sig
1172
1175
val _save_ir_after : string -> unit
1173
1176
val _probes : unit -> unit
1174
1177
val _no_probes : unit -> unit
1178
+ val _alloc_check : unit -> unit
1175
1179
end ;;
1176
1180
1177
1181
module type Opttop_options = sig
@@ -1541,6 +1545,7 @@ struct
1541
1545
mk_dump_into_file F. _dump_into_file;
1542
1546
mk_dump_dir F. _dump_dir;
1543
1547
mk_dump_pass F. _dump_pass;
1548
+ mk_alloc_check F. _alloc_check;
1544
1549
1545
1550
mk_args F. _args;
1546
1551
mk_args0 F. _args0;
@@ -2024,6 +2029,7 @@ module Default = struct
2024
2029
let _v () = Compenv. print_version_and_library " native-code compiler"
2025
2030
let _no_probes = clear probes
2026
2031
let _probes = set probes
2032
+ let _alloc_check () = ()
2027
2033
end
2028
2034
2029
2035
module Odoc_args = struct
Original file line number Diff line number Diff line change @@ -243,6 +243,7 @@ module type Optcomp_options = sig
243
243
val _save_ir_after : string -> unit
244
244
val _probes : unit -> unit
245
245
val _no_probes : unit -> unit
246
+ val _alloc_check : unit -> unit
246
247
end ;;
247
248
248
249
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
- ;
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
39
;
40
40
; (install
41
41
; (files
You can’t perform that action at this time.
0 commit comments