summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAchim Kriso <achim.kriso@student.kit.edu>2020-03-13 14:03:03 +0100
committerAndreas Fried <andreas.fried@kit.edu>2020-03-26 14:08:14 +0100
commit8c98ef83681fffa1bc38e6cd8620edf572c8a415 (patch)
tree85c2ac3b63f4badac5ae5e00fb0fc60c102a0971
parent152f511ebdcdf49f5a5480b0f951ed71aeec7ab0 (diff)
Compile flag for debug break on errorlowfat_sanitizer
-rw-r--r--runtime/lfmalloc/src/lfinternal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/lfmalloc/src/lfinternal.c b/runtime/lfmalloc/src/lfinternal.c
index 6626c5c..625ecad 100644
--- a/runtime/lfmalloc/src/lfinternal.c
+++ b/runtime/lfmalloc/src/lfinternal.c
@@ -395,8 +395,9 @@ void __lf_error(void *ptr, void* base, unsigned long size, unsigned int reason,
s_reason, ptr, base, size);
}
+#ifdef INT_ON_ERROR
raise(SIGINT);
-
+#endif
#ifdef ABORT_ON_ERROR
abort();
#endif