mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-05 01:31:05 +00:00
Add DEBUG message.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110224 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4eaee28e34
commit
5c1d941f00
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user