summaryrefslogtreecommitdiffstats
path: root/polly/lib/Exchange
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-04-22 03:30:19 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-04-22 03:30:19 +0000
commit95fef9446c4bb3187157e0cc6933cb188e4355b8 (patch)
tree85b45a4eee8a10269d5e9eeb48285bb19d6668b5 /polly/lib/Exchange
parent9afe32d11dea6f052505c73e08013b9224eb20ef (diff)
downloadbcm5719-llvm-95fef9446c4bb3187157e0cc6933cb188e4355b8.tar.gz
bcm5719-llvm-95fef9446c4bb3187157e0cc6933cb188e4355b8.zip
[Modules] Fix potential ODR violations by sinking the DEBUG_TYPE
definition below all of the header #include lines, Polly edition. If you want to know more details about this, you can see the recent commits to Debug.h in LLVM. This is just the Polly segment of a cleanup I'm doing globally for this macro. llvm-svn: 206852
Diffstat (limited to 'polly/lib/Exchange')
-rw-r--r--polly/lib/Exchange/JSONExporter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/polly/lib/Exchange/JSONExporter.cpp b/polly/lib/Exchange/JSONExporter.cpp
index eb5ac2eaf74..aac665e183c 100644
--- a/polly/lib/Exchange/JSONExporter.cpp
+++ b/polly/lib/Exchange/JSONExporter.cpp
@@ -22,8 +22,6 @@
#include "llvm/Support/ToolOutputFile.h"
#include "llvm/Support/system_error.h"
-#define DEBUG_TYPE "polly-import-jscop"
-
#include "json/reader.h"
#include "json/writer.h"
@@ -37,6 +35,8 @@
using namespace llvm;
using namespace polly;
+#define DEBUG_TYPE "polly-import-jscop"
+
STATISTIC(NewAccessMapFound, "Number of updated access functions");
namespace {
OpenPOWER on IntegriCloud