u3: specially defines c3_assert for ASan compatiblity
**/
/* Assert. Good to capture.
*/
+
+# if defined(ASAN_ENABLED) && defined(__clang__)
+# define c3_assert(x) \
+ do { \
+ if (!(x)) { \
+ c3_cooked(); \
+ assert(x); \
+ } \
+ } while(0)
+# else
# define c3_assert(x) \
do { \
if (!(x)) { \
assert(x); \
} \
} while(0)
+#endif
/* Stub.
*/
