Add bt_common_abort() and use it instead of abort() directly
[babeltrace.git] / src / plugins / lttng-utils / debug-info / trace-ir-data-copy.c
index 19ad1f2f3b8f2cf68bdccdf26749945382520dab..a513adcf0c26a236ff202a5354c3c7d1fabccd68 100644 (file)
@@ -32,6 +32,7 @@
 #include <stdint.h>
 
 #include "common/assert.h"
+#include "common/common.h"
 
 #include "trace-ir-data-copy.h"
 
@@ -103,7 +104,7 @@ enum debug_info_trace_ir_mapping_status copy_trace_content(
                                out_trace, value_name,
                                bt_value_string_get(value));
                } else {
-                       abort();
+                       bt_common_abort();
                }
 
                if (set_env_status != BT_TRACE_SET_ENVIRONMENT_ENTRY_STATUS_OK) {
@@ -455,7 +456,7 @@ enum debug_info_trace_ir_mapping_status copy_field_content(
                        goto end;
                        }
        } else {
-               abort();
+               bt_common_abort();
        }
 
        BT_COMP_LOGT("Copied content of field: in-f-addr=%p, out-f-addr=%p",
This page took 0.023418 seconds and 4 git commands to generate.