summaryrefslogtreecommitdiff
path: root/lib/Analysis/IPA/CallGraphSCCPass.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-04-22 02:48:03 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-04-22 02:48:03 +0000
commit4da253756ddc62496ad5baf7a8efaf2f001ef92a (patch)
tree84a6fd2a9e2d0d0b4b5d60b696deff43530573d6 /lib/Analysis/IPA/CallGraphSCCPass.cpp
parent42e8630239989fd40820975c361554546c1ccc2d (diff)
downloadllvm-4da253756ddc62496ad5baf7a8efaf2f001ef92a.tar.gz
llvm-4da253756ddc62496ad5baf7a8efaf2f001ef92a.tar.bz2
llvm-4da253756ddc62496ad5baf7a8efaf2f001ef92a.tar.xz
[Modules] Fix potential ODR violations by sinking the DEBUG_TYPE
definition below all the header #include lines, lib/Analysis/... edition. This one has a bit extra as there were *other* #define's before #include lines in addition to DEBUG_TYPE. I've sunk all of them as a block. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206843 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/IPA/CallGraphSCCPass.cpp')
-rw-r--r--lib/Analysis/IPA/CallGraphSCCPass.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Analysis/IPA/CallGraphSCCPass.cpp b/lib/Analysis/IPA/CallGraphSCCPass.cpp
index aafc085061..07f420fb1d 100644
--- a/lib/Analysis/IPA/CallGraphSCCPass.cpp
+++ b/lib/Analysis/IPA/CallGraphSCCPass.cpp
@@ -15,7 +15,6 @@
//
//===----------------------------------------------------------------------===//
-#define DEBUG_TYPE "cgscc-passmgr"
#include "llvm/Analysis/CallGraphSCCPass.h"
#include "llvm/ADT/SCCIterator.h"
#include "llvm/ADT/Statistic.h"
@@ -29,6 +28,8 @@
#include "llvm/Support/raw_ostream.h"
using namespace llvm;
+#define DEBUG_TYPE "cgscc-passmgr"
+
static cl::opt<unsigned>
MaxIterations("max-cg-scc-iterations", cl::ReallyHidden, cl::init(4));