[Openmp-commits] [PATCH] D43190: [OMPT][test] Correct warning about added wrapper functions
Jonas Hahnfeld via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Wed Feb 14 07:17:29 PST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL325131: [OMPT][test] Correct warning about added wrapper functions (authored by Hahnfeld, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D43190?vs=133852&id=134225#toc
Repository:
rL LLVM
https://reviews.llvm.org/D43190
Files:
openmp/trunk/runtime/test/ompt/callback.h
Index: openmp/trunk/runtime/test/ompt/callback.h
===================================================================
--- openmp/trunk/runtime/test/ompt/callback.h
+++ openmp/trunk/runtime/test/ompt/callback.h
@@ -74,8 +74,10 @@
#define print_frame_from_outlined_fn(level) print_frame(level)
#endif
- #warning "Clang 5.0 and later add an additional wrapper function for tasks when compiling with debug information."
- #warning "Please define -DDEBUG iff you manually pass in -g!"
+ #if defined(__clang__) && __clang_major__ >= 5
+ #warning "Clang 5.0 and later add an additional wrapper for outlined functions when compiling with debug information."
+ #warning "Please define -DDEBUG iff you manually pass in -g to make the tests succeed!"
+ #endif
#endif
// This macro helps to define a label at the current position that can be used
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43190.134225.patch
Type: text/x-patch
Size: 858 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180214/42d9d17b/attachment.bin>
More information about the Openmp-commits
mailing list