mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
[Modules] Fix potential ODR violations by sinking the DEBUG_TYPE
definition below all of the header #include lines, tools edition. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206848 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c722ba49b2
commit
843eb0c24b
@ -11,7 +11,6 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#define DEBUG_TYPE "toolrunner"
|
||||
#include "ToolRunner.h"
|
||||
#include "llvm/Config/config.h" // for HAVE_LINK_R
|
||||
#include "llvm/Support/CommandLine.h"
|
||||
@ -24,6 +23,8 @@
|
||||
#include <sstream>
|
||||
using namespace llvm;
|
||||
|
||||
#define DEBUG_TYPE "toolrunner"
|
||||
|
||||
namespace llvm {
|
||||
cl::opt<bool>
|
||||
SaveTemps("save-temps", cl::init(false), cl::desc("Save temporary files"));
|
||||
|
@ -12,7 +12,6 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#define DEBUG_TYPE "lli"
|
||||
#include "RemoteMemoryManager.h"
|
||||
#include "llvm/ExecutionEngine/ExecutionEngine.h"
|
||||
#include "llvm/ExecutionEngine/ObjectImage.h"
|
||||
@ -21,6 +20,8 @@
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
#define DEBUG_TYPE "lli"
|
||||
|
||||
RemoteMemoryManager::~RemoteMemoryManager() {
|
||||
for (SmallVector<Allocation, 2>::iterator
|
||||
I = AllocatedSections.begin(), E = AllocatedSections.end();
|
||||
|
@ -13,7 +13,6 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#define DEBUG_TYPE "lli"
|
||||
#include "llvm/IR/LLVMContext.h"
|
||||
#include "RemoteMemoryManager.h"
|
||||
#include "RemoteTarget.h"
|
||||
@ -64,6 +63,8 @@
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
#define DEBUG_TYPE "lli"
|
||||
|
||||
namespace {
|
||||
cl::opt<std::string>
|
||||
InputFile(cl::desc("<input bitcode>"), cl::Positional, cl::init("-"));
|
||||
|
Loading…
Reference in New Issue
Block a user