summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint
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/bugpoint
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/bugpoint')
-rw-r--r--llvm/tools/bugpoint/ToolRunner.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/bugpoint/ToolRunner.cpp b/llvm/tools/bugpoint/ToolRunner.cpp
index f0fb4bf6f53..e1c995f519e 100644
--- a/llvm/tools/bugpoint/ToolRunner.cpp
+++ b/llvm/tools/bugpoint/ToolRunner.cpp
@@ -11,7 +11,6 @@
//
//===----------------------------------------------------------------------===//
-#define DEBUG_TYPE "toolrunner"
#include "ToolRunner.h"
#include "llvm/Config/config.h" // for HAVE_LINK_R
#include "llvm/Support/CommandLine.h"
@@ -24,6 +23,8 @@
#include <sstream>
using namespace llvm;
+#define DEBUG_TYPE "toolrunner"
+
namespace llvm {
cl::opt<bool>
SaveTemps("save-temps", cl::init(false), cl::desc("Save temporary files"));
OpenPOWER on IntegriCloud