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 | f1221bd01bbf77a5ad24e30dcf126a4865941c50 (patch) | |
tree | 2aae722c8e7a9c1d5e9333c2b368f90fb9760a2c /llvm/lib/Analysis/MemoryDependenceAnalysis.cpp | |
parent | 84e68b2994470dcdf67a6bac509c9790d1ae9782 (diff) | |
download | bcm5719-llvm-f1221bd01bbf77a5ad24e30dcf126a4865941c50.tar.gz bcm5719-llvm-f1221bd01bbf77a5ad24e30dcf126a4865941c50.zip |
[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.
llvm-svn: 206843
Diffstat (limited to 'llvm/lib/Analysis/MemoryDependenceAnalysis.cpp')
-rw-r--r-- | llvm/lib/Analysis/MemoryDependenceAnalysis.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp b/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp index 0b33d487259..9eaf1095869 100644 --- a/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp +++ b/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp @@ -14,7 +14,6 @@ // //===----------------------------------------------------------------------===// -#define DEBUG_TYPE "memdep" #include "llvm/Analysis/MemoryDependenceAnalysis.h" #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/Statistic.h" @@ -33,6 +32,8 @@ #include "llvm/Support/Debug.h" using namespace llvm; +#define DEBUG_TYPE "memdep" + STATISTIC(NumCacheNonLocal, "Number of fully cached non-local responses"); STATISTIC(NumCacheDirtyNonLocal, "Number of dirty cached non-local responses"); STATISTIC(NumUncacheNonLocal, "Number of uncached non-local responses"); |