Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fill tesh file (still uncomplete)
[simgrid.git] / include / xbt / sysdep.h
index 390ef24a7d25dc288d35b8f0865cd113a9f67007..4b901a35921cf2836d834953ba5971c27b1d5d3d 100644 (file)
@@ -31,17 +31,7 @@ SG_BEGIN_DECL()
  * @{
  */
 /** @brief Kill the program in silence */
-#ifdef COVERAGE
-/* Call __gcov_flush on abort when compiling with coverage options. */
-#define xbt_abort()                             \
-  do {                                          \
-    extern void __gcov_flush(void);             \
-    __gcov_flush();                             \
-    abort();                                    \
-  } while (0)
-#else
-#define xbt_abort() abort()
-#endif
+XBT_PUBLIC(void) xbt_abort(void) _XBT_GNUC_NORETURN;
 
 /**
  * @brief Kill the program with an error message