LCOV - code coverage report
Current view: top level - aws-c-common/source - assert.c (source / functions) Hit Total Coverage
Test: all_fuzz.info Lines: 0 6 0.0 %
Date: 2021-04-23 16:28:21 Functions: 0 1 0.0 %

          Line data    Source code
       1             : /**
       2             :  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
       3             :  * SPDX-License-Identifier: Apache-2.0.
       4             :  */
       5             : 
       6             : #include <aws/common/common.h>
       7             : 
       8             : #include <aws/common/system_info.h>
       9             : 
      10             : #include <stdio.h>
      11             : #include <stdlib.h>
      12             : 
      13           0 : void aws_fatal_assert(const char *cond_str, const char *file, int line) {
      14           0 :     aws_debug_break();
      15           0 :     fprintf(stderr, "Fatal error condition occurred in %s:%d: %s\nExiting Application\n", file, line, cond_str);
      16           0 :     aws_backtrace_print(stderr, NULL);
      17           0 :     abort();
      18           0 : }

Generated by: LCOV version 1.13