[llvm-commits] [llvm] r110224 - /llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp
Devang Patel
dpatel at apple.com
Wed Aug 4 11:06:05 PDT 2010
Author: dpatel
Date: Wed Aug 4 13:06:05 2010
New Revision: 110224
URL: http://llvm.org/viewvc/llvm-project?rev=110224&view=rev
Log:
Add DEBUG message.
Modified:
llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp
Modified: llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp?rev=110224&r1=110223&r2=110224&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp Wed Aug 4 13:06:05 2010
@@ -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 @@
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;
}
More information about the llvm-commits
mailing list