summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2013-07-07 10:02:56 +0000
committerGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2013-07-07 10:02:56 +0000
commitbd1a4956257638793d3a6a3ffcee1773541d601b (patch)
tree1f3ca44b86cdba6f1ea055d90b3e3b7d44332ed3 /driver
parent39027a6ea0446b45d2c8aee1eb0c256a6f0f7417 (diff)
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
Diffstat (limited to 'driver')
-rw-r--r--driver/Driver.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/driver/Driver.ml b/driver/Driver.ml
index 0e54ad9..4f5100e 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