[PATCH] D43190: [OMPT][test] Correct warning about added wrapper functions
Jonas Hahnfeld via Phabricator via llvm-commits
llvm-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:
@@ -74,8 +74,10 @@
#define print_frame_from_outlined_fn(level) print_frame(level)
- #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!"
// This macro helps to define a label at the current position that can be used
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 858 bytes
Desc: not available
More information about the llvm-commits