From: Shilei Tian Date: Mon, 12 Dec 2022 03:41:22 +0000 (-0500) Subject: [OpenMP] Add `abort` to `FATAL_MESSAGE` X-Git-Tag: upstream/17.0.6~24296 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ac65b3c7a2ad67ce17d31dc14867dc83650f751e;p=platform%2Fupstream%2Fllvm.git [OpenMP] Add `abort` to `FATAL_MESSAGE` --- diff --git a/openmp/libomptarget/include/Debug.h b/openmp/libomptarget/include/Debug.h index 4e7da8b..47c292c 100644 --- a/openmp/libomptarget/include/Debug.h +++ b/openmp/libomptarget/include/Debug.h @@ -128,6 +128,7 @@ inline uint32_t getDebugLevel() { do { \ fprintf(stderr, GETNAME(TARGET_NAME) " error: "); \ fprintf(stderr, __VA_ARGS__); \ + abort(); \ } while (0) /// Print a generic information string used if LIBOMPTARGET_INFO=1