mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 00:24:26 +00:00
Undo previous checkin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62190 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -97,9 +97,6 @@ public:
|
|||||||
///
|
///
|
||||||
void RecordVariable(GlobalVariable *GV, unsigned FrameIndex);
|
void RecordVariable(GlobalVariable *GV, unsigned FrameIndex);
|
||||||
|
|
||||||
/// hasDebugInfo - Return true if debug info intrinsics are seen in
|
|
||||||
/// this module.
|
|
||||||
bool hasDebugInfo();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -4990,9 +4990,3 @@ unsigned DwarfWriter::getRecordSourceLineCount() {
|
|||||||
void DwarfWriter::RecordVariable(GlobalVariable *GV, unsigned FrameIndex) {
|
void DwarfWriter::RecordVariable(GlobalVariable *GV, unsigned FrameIndex) {
|
||||||
DD->RecordVariable(GV, FrameIndex);
|
DD->RecordVariable(GV, FrameIndex);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// hasDebugInfo - Return true if debug info intrinsics are seen in
|
|
||||||
/// this module.
|
|
||||||
bool DwarfWriter::hasDebugInfo() {
|
|
||||||
return DD && DD->ShouldEmitDwarf();
|
|
||||||
}
|
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
#include "llvm/CodeGen/MachineConstantPool.h"
|
#include "llvm/CodeGen/MachineConstantPool.h"
|
||||||
#include "llvm/CodeGen/MachineFrameInfo.h"
|
#include "llvm/CodeGen/MachineFrameInfo.h"
|
||||||
#include "llvm/CodeGen/MachineModuleInfo.h"
|
#include "llvm/CodeGen/MachineModuleInfo.h"
|
||||||
#include "llvm/CodeGen/DwarfWriter.h"
|
|
||||||
#include "llvm/CodeGen/PseudoSourceValue.h"
|
#include "llvm/CodeGen/PseudoSourceValue.h"
|
||||||
#include "llvm/Target/TargetRegisterInfo.h"
|
#include "llvm/Target/TargetRegisterInfo.h"
|
||||||
#include "llvm/Target/TargetData.h"
|
#include "llvm/Target/TargetData.h"
|
||||||
@ -2041,8 +2040,8 @@ bool SelectionDAG::isVerifiedDebugInfoDesc(SDValue Op) const {
|
|||||||
if (GA->getOffset() != 0) return false;
|
if (GA->getOffset() != 0) return false;
|
||||||
GlobalVariable *GV = dyn_cast<GlobalVariable>(GA->getGlobal());
|
GlobalVariable *GV = dyn_cast<GlobalVariable>(GA->getGlobal());
|
||||||
if (!GV) return false;
|
if (!GV) return false;
|
||||||
DwarfWriter *DW = getDwarfWriter();
|
MachineModuleInfo *MMI = getMachineModuleInfo();
|
||||||
return DW && DW->hasDebugInfo();
|
return MMI && MMI->hasDebugInfo() && MMI->isVerified(GV);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user