[Modules] Fix potential ODR violations by sinking the DEBUG_TYPE

definition below all of the header #include lines, lib/Target/...
edition.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206842 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chandler Carruth
2014-04-22 02:41:26 +00:00
parent 3d5cd01d37
commit 42e8630239
152 changed files with 304 additions and 186 deletions

View File

@@ -14,7 +14,6 @@
///
//===----------------------------------------------------------------------===//
#define DEBUG_TYPE "xcoretti"
#include "XCore.h"
#include "llvm/Analysis/TargetTransformInfo.h"
#include "llvm/Support/Debug.h"
@@ -22,6 +21,8 @@
#include "llvm/Target/TargetLowering.h"
using namespace llvm;
#define DEBUG_TYPE "xcoretti"
// Declare the pass initialization routine locally as target-specific passes
// don't havve a target-wide initialization entry point, and so we rely on the
// pass constructor initialization.