mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Revert r218778 while investigating buldbot breakage.
"Move the complex address expression out of DIVariable and into an extra" git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218782 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -614,8 +614,8 @@ static void emitKill(const MachineInstr *MI, AsmPrinter &AP) {
|
||||
/// of DBG_VALUE, returning true if it was able to do so. A false return
|
||||
/// means the target will need to handle MI in EmitInstruction.
|
||||
static bool emitDebugValueComment(const MachineInstr *MI, AsmPrinter &AP) {
|
||||
// This code handles only the 4-operand target-independent form.
|
||||
if (MI->getNumOperands() != 4)
|
||||
// This code handles only the 3-operand target-independent form.
|
||||
if (MI->getNumOperands() != 3)
|
||||
return false;
|
||||
|
||||
SmallString<128> Str;
|
||||
@@ -629,11 +629,9 @@ static bool emitDebugValueComment(const MachineInstr *MI, AsmPrinter &AP) {
|
||||
OS << Name << ":";
|
||||
}
|
||||
OS << V.getName();
|
||||
|
||||
DIExpression Expr = MI->getDebugExpression();
|
||||
if (Expr.isVariablePiece())
|
||||
OS << " [piece offset=" << Expr.getPieceOffset()
|
||||
<< " size=" << Expr.getPieceSize() << "]";
|
||||
if (V.isVariablePiece())
|
||||
OS << " [piece offset=" << V.getPieceOffset()
|
||||
<< " size="<<V.getPieceSize()<<"]";
|
||||
OS << " <- ";
|
||||
|
||||
// The second operand is only an offset if it's an immediate.
|
||||
|
Reference in New Issue
Block a user