[Modules] Fix potential ODR violations by sinking the DEBUG_TYPE

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206847 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chandler Carruth
2014-04-22 03:07:47 +00:00
parent 915c29c11c
commit c722ba49b2
2 changed files with 4 additions and 2 deletions

View File

@ -14,7 +14,6 @@
//
//===----------------------------------------------------------------------===//
#define DEBUG_TYPE "Data-stream"
#include "llvm/Support/DataStream.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Support/FileSystem.h"
@ -30,6 +29,8 @@
#endif
using namespace llvm;
#define DEBUG_TYPE "Data-stream"
// Interface goals:
// * StreamableMemoryObject doesn't care about complexities like using
// threads/async callbacks to actually overlap download+compile