[PATCH] D14565: Missing include kmp_config.h

Harald Servat via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 11 02:50:18 PST 2015


harald.servat created this revision.
harald.servat added reviewers: openmp-commits, llvm-commits.

Include missing kmp_config.h in the ompt-general.c file. If the file is not included, the inclusion of ompt-event-specific.h (through ompt-internal.h) does not inherit neither OMPT_TRACE nor OMPT_BLAME.

http://reviews.llvm.org/D14565

Files:
  runtime/src/ompt-general.c

Index: runtime/src/ompt-general.c
===================================================================
--- runtime/src/ompt-general.c
+++ runtime/src/ompt-general.c
@@ -15,6 +15,7 @@
  * ompt include files
  ****************************************************************************/
 
+#include "kmp_config.h"
 #include "ompt-internal.h"
 #include "ompt-specific.c"
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14565.39888.patch
Type: text/x-patch
Size: 370 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151111/a61b9f5e/attachment.bin>


More information about the llvm-commits mailing list