mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 06:36:07 +00:00
[OMPT] Fix debug prefix not being defined
Summary: This header file uses the `DP` prefixes but does not define `DEBUG_PREFIX`. This patch adds a simple fix, but realistically the `DP` system isn't ideal. Now that we have access to LLVM libraries and other utilities we should consider rewriting all of the debugging and error handling glue.
This commit is contained in:
parent
56470b72f1
commit
0e7e426c0c
@ -26,6 +26,8 @@
|
||||
#include "omp-tools.h"
|
||||
#include "omptarget.h"
|
||||
|
||||
#define DEBUG_PREFIX "OMPT"
|
||||
|
||||
#define LIBOMPTARGET_STRINGIFY(s) #s
|
||||
|
||||
/// Type for the function to be invoked for connecting two libraries.
|
||||
@ -99,6 +101,8 @@ private:
|
||||
std::string LibIdent;
|
||||
};
|
||||
|
||||
#undef DEBUG_PREFIX
|
||||
|
||||
#endif // OMPT_SUPPORT
|
||||
|
||||
#endif // _OMPT_CONNECTOR_H
|
||||
|
Loading…
x
Reference in New Issue
Block a user