diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2014-04-22 02:48:03 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2014-04-22 02:48:03 +0000 |
commit | 4da253756ddc62496ad5baf7a8efaf2f001ef92a (patch) | |
tree | 84a6fd2a9e2d0d0b4b5d60b696deff43530573d6 /lib/Analysis/IPA/CallGraphSCCPass.cpp | |
parent | 42e8630239989fd40820975c361554546c1ccc2d (diff) | |
download | llvm-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.cpp | 3 |
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)); |