summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.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/RuntimeDyld/RuntimeDyldELF.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/RuntimeDyld/RuntimeDyldELF.cpp')
-rw-r--r--llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
index 3204b81df2b..434a1adf4f0 100644
--- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
+++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
@@ -11,7 +11,6 @@
//
//===----------------------------------------------------------------------===//
-#define DEBUG_TYPE "dyld"
#include "RuntimeDyldELF.h"
#include "JITRegistrar.h"
#include "ObjectImageCommon.h"
@@ -29,6 +28,8 @@
using namespace llvm;
using namespace llvm::object;
+#define DEBUG_TYPE "dyld"
+
namespace {
static inline error_code check(error_code Err) {
OpenPOWER on IntegriCloud