summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-04-22 02:41:26 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-04-22 02:41:26 +0000
commit84e68b2994470dcdf67a6bac509c9790d1ae9782 (patch)
treeca2a6eaf79c4ae7e6a8a7b863822be447141ae48 /llvm/lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.cpp
parentff55593c40b1f589494a9ce1b6556a7567c6083c (diff)
downloadbcm5719-llvm-84e68b2994470dcdf67a6bac509c9790d1ae9782.tar.gz
bcm5719-llvm-84e68b2994470dcdf67a6bac509c9790d1ae9782.zip
[Modules] Fix potential ODR violations by sinking the DEBUG_TYPE
definition below all of the header #include lines, lib/Target/... edition. llvm-svn: 206842
Diffstat (limited to 'llvm/lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.cpp')
-rw-r--r--llvm/lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.cpp b/llvm/lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.cpp
index e1e64d3ac17..d2ba9b6f54c 100644
--- a/llvm/lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.cpp
+++ b/llvm/lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.cpp
@@ -7,8 +7,6 @@
//
//===----------------------------------------------------------------------===//
-#define DEBUG_TYPE "asm-printer"
-
#include "SystemZInstPrinter.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInstrInfo.h"
@@ -16,6 +14,8 @@
using namespace llvm;
+#define DEBUG_TYPE "asm-printer"
+
#include "SystemZGenAsmWriter.inc"
void SystemZInstPrinter::printAddress(unsigned Base, int64_t Disp,
OpenPOWER on IntegriCloud