mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
Revert "Debug info for optimized code: Support variables that are on the stack and"
This reverts commit 207130 for buildbot breakage. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207162 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -5646,26 +5646,21 @@ SDNode *SelectionDAG::getNodeIfExists(unsigned Opcode, SDVTList VTList,
|
||||
|
||||
/// getDbgValue - Creates a SDDbgValue node.
|
||||
///
|
||||
/// SDNode
|
||||
SDDbgValue *
|
||||
SelectionDAG::getDbgValue(MDNode *MDPtr, SDNode *N, unsigned R,
|
||||
bool IsIndirect, uint64_t Off,
|
||||
SelectionDAG::getDbgValue(MDNode *MDPtr, SDNode *N, unsigned R, uint64_t Off,
|
||||
DebugLoc DL, unsigned O) {
|
||||
return new (Allocator) SDDbgValue(MDPtr, N, R, IsIndirect, Off, DL, O);
|
||||
return new (Allocator) SDDbgValue(MDPtr, N, R, Off, DL, O);
|
||||
}
|
||||
|
||||
/// Constant
|
||||
SDDbgValue *
|
||||
SelectionDAG::getConstantDbgValue(MDNode *MDPtr, const Value *C,
|
||||
uint64_t Off,
|
||||
DebugLoc DL, unsigned O) {
|
||||
SelectionDAG::getDbgValue(MDNode *MDPtr, const Value *C, uint64_t Off,
|
||||
DebugLoc DL, unsigned O) {
|
||||
return new (Allocator) SDDbgValue(MDPtr, C, Off, DL, O);
|
||||
}
|
||||
|
||||
/// FrameIndex
|
||||
SDDbgValue *
|
||||
SelectionDAG::getFrameIndexDbgValue(MDNode *MDPtr, unsigned FI, uint64_t Off,
|
||||
DebugLoc DL, unsigned O) {
|
||||
SelectionDAG::getDbgValue(MDNode *MDPtr, unsigned FI, uint64_t Off,
|
||||
DebugLoc DL, unsigned O) {
|
||||
return new (Allocator) SDDbgValue(MDPtr, FI, Off, DL, O);
|
||||
}
|
||||
|
||||
@ -6071,7 +6066,6 @@ void SelectionDAG::TransferDbgValues(SDValue From, SDValue To) {
|
||||
SDDbgValue *Dbg = *I;
|
||||
if (Dbg->getKind() == SDDbgValue::SDNODE) {
|
||||
SDDbgValue *Clone = getDbgValue(Dbg->getMDPtr(), ToNode, To.getResNo(),
|
||||
Dbg->isIndirect(),
|
||||
Dbg->getOffset(), Dbg->getDebugLoc(),
|
||||
Dbg->getOrder());
|
||||
ClonedDVs.push_back(Clone);
|
||||
|
Reference in New Issue
Block a user