author | Alberto Bertogli
<albertito@blitiri.com.ar> 2014-07-29 19:48:52 UTC |
committer | Alberto Bertogli
<albertito@blitiri.com.ar> 2014-07-29 19:48:52 UTC |
parent | a840a11cc381e7f3eedf233b82615c218add557e |
preload/posix/codegen.h | +4 | -0 |
diff --git a/preload/posix/codegen.h b/preload/posix/codegen.h index 2885da1..6eecd73 100644 --- a/preload/posix/codegen.h +++ b/preload/posix/codegen.h @@ -123,6 +123,7 @@ void *libc_symbol(const char *symbol); fstatus = fiu_fail(FIU_NAME); \ if (fstatus != 0) { \ r = (RTYPE) fiu_failinfo(); \ + printd("failing\n"); \ goto exit; \ } @@ -133,6 +134,7 @@ void *libc_symbol(const char *symbol); fstatus = fiu_fail(FIU_NAME); \ if (fstatus != 0) { \ r = FAIL_RET; \ + printd("failing\n"); \ goto exit; \ } @@ -151,6 +153,7 @@ void *libc_symbol(const char *symbol); errno = (long) finfo; \ } \ r = FAIL_RET; \ + printd("failing\n"); \ goto exit; \ } @@ -161,6 +164,7 @@ void *libc_symbol(const char *symbol); \ fstatus = fiu_fail(FIU_NAME); \ if (fstatus != 0) { \ + printd("reducing\n"); \ CNT -= random() % CNT; \ }