projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
470562117a90e01340d60b18981af2ad924ff83a
[ghc-hetmet.git]
/
ghc
/
runtime
/
hooks
/
OutOfStk.lc
1
\begin{code}
2
#include "rtsdefs.h"
3
4
void
5
StackOverflowHook (stack_size)
6
I_ stack_size; /* in bytes */
7
{
8
fprintf(stderr, "Stack space overflow: current size %ld bytes.\nUse `+RTS -Ksize' to increase it.\n", stack_size);
9
}
10
\end{code}