projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62c4dce
)
[OpenMP] Add `abort` to `FATAL_MESSAGE`
author
Shilei Tian
<i@tianshilei.me>
Mon, 12 Dec 2022 03:41:22 +0000
(22:41 -0500)
committer
Shilei Tian
<i@tianshilei.me>
Mon, 12 Dec 2022 03:41:22 +0000
(22:41 -0500)
openmp/libomptarget/include/Debug.h
patch
|
blob
|
history
diff --git
a/openmp/libomptarget/include/Debug.h
b/openmp/libomptarget/include/Debug.h
index
4e7da8b
..
47c292c
100644
(file)
--- 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