[sledge] Add memtrace support

Reviewed By: jvillard

Differential Revision: D27280743

fbshipit-source-id: 3a6fdb1a9
master
Josh Berdine 4 years ago committed by Facebook GitHub Bot
parent fb95eee214
commit 38eb6aa8d0

@ -267,6 +267,8 @@ let readme () =
module except the M.f function. The <spec> value * enables all debug \ module except the M.f function. The <spec> value * enables all debug \
tracing." tracing."
;;
Memtrace.trace_if_requested ()
;; ;;
Printexc.record_backtrace Version.debug Printexc.record_backtrace Version.debug
;; ;;

@ -101,7 +101,8 @@
(package sledge) (package sledge)
(libraries apron apron.boxMPQ core ctypes ctypes.foreign dune-build-info (libraries apron apron.boxMPQ core ctypes ctypes.foreign dune-build-info
llvm llvm.irreader llvm.analysis llvm.scalar_opts llvm.target llvm.ipo llvm llvm.irreader llvm.analysis llvm.scalar_opts llvm.target llvm.ipo
llvm.linker shexp.process yojson trace nonstdlib sledge smtlib-utils) llvm.linker memtrace shexp.process yojson trace nonstdlib sledge
smtlib-utils)
(flags (flags
(:standard -w -58 -open NS -open Sledge)) (:standard -w -58 -open NS -open Sledge))
(preprocess (preprocess

@ -22,6 +22,7 @@ depends: [
"dune-build-info" {build} "dune-build-info" {build}
"fpath" "fpath"
"iter" "iter"
"memtrace"
"mtime" "mtime"
"ppx_compare" "ppx_compare"
"ppx_hash" "ppx_hash"

Loading…
Cancel
Save