Tweaks to make libthread tell Valgrind about its stack limits,
so that Valgrind can detect stack overflow for me.
This commit is contained in:
parent
cdd61ab0ae
commit
a3785ca2cc
7 changed files with 60 additions and 8 deletions
|
|
@ -277,7 +277,7 @@ static void
|
|||
channelsize(Channel *c, int sz)
|
||||
{
|
||||
if(c->e != sz){
|
||||
fprint(2, "expected channel with elements of size %d, got size %d",
|
||||
fprint(2, "expected channel with elements of size %d, got size %d\n",
|
||||
sz, c->e);
|
||||
abort();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue