summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/OProfileJIT/OProfileWrapper.cpp
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/OProfileJIT/OProfileWrapper.cpp
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/OProfileJIT/OProfileWrapper.cpp')
-rw-r--r--llvm/lib/ExecutionEngine/OProfileJIT/OProfileWrapper.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/OProfileJIT/OProfileWrapper.cpp b/llvm/lib/ExecutionEngine/OProfileJIT/OProfileWrapper.cpp
index 6702e20d50d..04edbd2a300 100644
--- a/llvm/lib/ExecutionEngine/OProfileJIT/OProfileWrapper.cpp
+++ b/llvm/lib/ExecutionEngine/OProfileJIT/OProfileWrapper.cpp
@@ -13,7 +13,6 @@
//
//===----------------------------------------------------------------------===//
-#define DEBUG_TYPE "oprofile-wrapper"
#include "llvm/ExecutionEngine/OProfileWrapper.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/Support/Debug.h"
@@ -29,6 +28,8 @@
#include <sys/stat.h>
#include <unistd.h>
+#define DEBUG_TYPE "oprofile-wrapper"
+
namespace {
// Global mutex to ensure a single thread initializes oprofile agent.
OpenPOWER on IntegriCloud