aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2018-11-23 04:28:44 +0100
committerTristan Gingold <tgingold@free.fr>2018-11-23 04:29:21 +0100
commitf2c4cfadb13dd5eef1979069317e5c6ee224c908 (patch)
tree501db6bae01657d120a033f3ff2414b011e9135e /src/ghdldrv
parent3d81a74f66c2440ebde7efc64415d6c5510e94ee (diff)
downloadghdl-f2c4cfadb13dd5eef1979069317e5c6ee224c908.tar.gz
ghdl-f2c4cfadb13dd5eef1979069317e5c6ee224c908.tar.bz2
ghdl-f2c4cfadb13dd5eef1979069317e5c6ee224c908.zip
Add --max-stack-alloc option, check stack allocation of complex object.
Fix #692
Diffstat (limited to 'src/ghdldrv')
-rw-r--r--src/ghdldrv/ghdlrun.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ghdldrv/ghdlrun.adb b/src/ghdldrv/ghdlrun.adb
index 9d1e14343..c4d9cc3be 100644
--- a/src/ghdldrv/ghdlrun.adb
+++ b/src/ghdldrv/ghdlrun.adb
@@ -322,6 +322,8 @@ package body Ghdlrun is
Grt.Lib.Ghdl_I32_Exp'Address);
Def (Trans_Decls.Ghdl_I64_Exp,
Grt.Lib.Ghdl_I64_Exp'Address);
+ Def (Trans_Decls.Ghdl_Check_Stack_Allocation,
+ Grt.Lib.Ghdl_Check_Stack_Allocation'Address);
Def (Trans_Decls.Ghdl_Sensitized_Process_Register,
Grt.Processes.Ghdl_Sensitized_Process_Register'Address);