summaryrefslogtreecommitdiffstats
path: root/llvm/tools/lli/lli.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-04-22 03:10:36 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-04-22 03:10:36 +0000
commitf98597a163ec2c262716f53c05090a0ca1837309 (patch)
tree8a3552af7d1197c0276fcde08d1552514729ec41 /llvm/tools/lli/lli.cpp
parent64648265978c16dbc5c5564a45209ca60424465e (diff)
downloadbcm5719-llvm-f98597a163ec2c262716f53c05090a0ca1837309.tar.gz
bcm5719-llvm-f98597a163ec2c262716f53c05090a0ca1837309.zip
[Modules] Fix potential ODR violations by sinking the DEBUG_TYPE
definition below all of the header #include lines, tools edition. llvm-svn: 206848
Diffstat (limited to 'llvm/tools/lli/lli.cpp')
-rw-r--r--llvm/tools/lli/lli.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/lli/lli.cpp b/llvm/tools/lli/lli.cpp
index c0c0f9d2b2d..904a9e5830a 100644
--- a/llvm/tools/lli/lli.cpp
+++ b/llvm/tools/lli/lli.cpp
@@ -13,7 +13,6 @@
//
//===----------------------------------------------------------------------===//
-#define DEBUG_TYPE "lli"
#include "llvm/IR/LLVMContext.h"
#include "RemoteMemoryManager.h"
#include "RemoteTarget.h"
@@ -64,6 +63,8 @@
using namespace llvm;
+#define DEBUG_TYPE "lli"
+
namespace {
cl::opt<std::string>
InputFile(cl::desc("<input bitcode>"), cl::Positional, cl::init("-"));
OpenPOWER on IntegriCloud