summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/IntelJITEvents
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-04-22 03:04:17 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-04-22 03:04:17 +0000
commitf58e376d233f1a9d2044f0a8a5152abe8dbf31a5 (patch)
tree55598d5e59776755d8b48e256d9081628d08aa4c /llvm/lib/ExecutionEngine/IntelJITEvents
parent964daaaf192f76eccb4eb9fed849133c91b96bc5 (diff)
downloadbcm5719-llvm-f58e376d233f1a9d2044f0a8a5152abe8dbf31a5.tar.gz
bcm5719-llvm-f58e376d233f1a9d2044f0a8a5152abe8dbf31a5.zip
[Modules] Fix potential ODR violations by sinking the DEBUG_TYPE
definition below all the header #include lines. This updates most of the miscellaneous other lib/... directories. A few left though. llvm-svn: 206845
Diffstat (limited to 'llvm/lib/ExecutionEngine/IntelJITEvents')
-rw-r--r--llvm/lib/ExecutionEngine/IntelJITEvents/IntelJITEventListener.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/IntelJITEvents/IntelJITEventListener.cpp b/llvm/lib/ExecutionEngine/IntelJITEvents/IntelJITEventListener.cpp
index 39b9c0431f5..9a65fa09b23 100644
--- a/llvm/lib/ExecutionEngine/IntelJITEvents/IntelJITEventListener.cpp
+++ b/llvm/lib/ExecutionEngine/IntelJITEvents/IntelJITEventListener.cpp
@@ -15,7 +15,6 @@
#include "llvm/Config/config.h"
#include "llvm/ExecutionEngine/JITEventListener.h"
-#define DEBUG_TYPE "amplifier-jit-event-listener"
#include "llvm/IR/DebugInfo.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Metadata.h"
@@ -34,6 +33,8 @@
using namespace llvm;
using namespace llvm::jitprofiling;
+#define DEBUG_TYPE "amplifier-jit-event-listener"
+
namespace {
class IntelJITEventListener : public JITEventListener {
OpenPOWER on IntegriCloud