diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2013-07-07 10:02:56 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2013-07-07 10:02:56 +0000 |
commit | bd1a4956257638793d3a6a3ffcee1773541d601b (patch) | |
tree | 1f3ca44b86cdba6f1ea055d90b3e3b7d44332ed3 | |
parent | 39027a6ea0446b45d2c8aee1eb0c256a6f0f7417 (diff) | |
download | compcert-kvx-bd1a4956257638793d3a6a3ffcee1773541d601b.tar.gz compcert-kvx-bd1a4956257638793d3a6a3ffcee1773541d601b.zip |
Compile in debug mode and activate stack backtraces.
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2292 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
-rw-r--r-- | _tags | 2 | ||||
-rw-r--r-- | driver/Driver.ml | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -1,3 +1,5 @@ +<**/*.cmx>: debug +<**/*.native>: debug <driver/Driver.*{byte,native}>: use_unix,use_str,use_Cparser <exportclight/Clightgen.*{byte,native}>: use_unix,use_str,use_Cparser <checklink/*.ml>: pkg_bitstring,warn_error_A diff --git a/driver/Driver.ml b/driver/Driver.ml index 0e54ad9a..4f5100e0 100644 --- a/driver/Driver.ml +++ b/driver/Driver.ml @@ -512,6 +512,7 @@ let cmdline_actions = let _ = Gc.set { (Gc.get()) with Gc.minor_heap_size = 524288 }; + Printexc.record_backtrace true; Machine.config := begin match Configuration.arch with | "powerpc" -> Machine.ppc_32_bigendian |