aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-08-04 18:06:05 +0000
committerDevang Patel <dpatel@apple.com>2010-08-04 18:06:05 +0000
commit5c1d941f00a3cdb4bdcefa95b4ff34ae8922cf15 (patch)
tree02acfe55bdb5066fddcdde8e8383ef7dee18c5a5 /lib/Target
parent4eaee28e347f33b3e23d2fb7275fc5222d5482fd (diff)
downloadexternal_llvm-5c1d941f00a3cdb4bdcefa95b4ff34ae8922cf15.zip
external_llvm-5c1d941f00a3cdb4bdcefa95b4ff34ae8922cf15.tar.gz
external_llvm-5c1d941f00a3cdb4bdcefa95b4ff34ae8922cf15.tar.bz2
Add DEBUG message.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110224 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/X86/X86AsmPrinter.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/X86/X86AsmPrinter.cpp b/lib/Target/X86/X86AsmPrinter.cpp
index 3e9fbb0..20110ad 100644
--- a/lib/Target/X86/X86AsmPrinter.cpp
+++ b/lib/Target/X86/X86AsmPrinter.cpp
@@ -36,6 +36,7 @@
#include "llvm/CodeGen/MachineModuleInfoImpls.h"
#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
#include "llvm/Support/COFF.h"
+#include "llvm/Support/Debug.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Target/Mangler.h"
#include "llvm/Target/TargetOptions.h"
@@ -668,6 +669,9 @@ X86AsmPrinter::getDebugValueLocation(const MachineInstr *MI) const {
if (MI->getOperand(0).isReg() && MI->getOperand(3).isImm())
Location.set(MI->getOperand(0).getReg(), MI->getOperand(3).getImm());
+ else {
+ DEBUG(dbgs() << "DBG_VALUE instruction ignored! " << *MI << "\n");
+ }
return Location;
}