Add DEBUG message.

llvm-svn: 110224
This commit is contained in:
Devang Patel 2010-08-04 18:06:05 +00:00
parent ba81fc16a5
commit 2bf0f3ceff
1 changed files with 4 additions and 0 deletions

View File

@ -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;
}