forked from OSchip/llvm-project
parent
d7b574e5b3
commit
19942885ba
|
@ -1563,7 +1563,7 @@ DIE *CompileUnit::constructVariableDIE(DbgVariable *DV,
|
|||
assert(DVInsn->getNumOperands() == 3);
|
||||
if (DVInsn->getOperand(0).isReg()) {
|
||||
const MachineOperand RegOp = DVInsn->getOperand(0);
|
||||
// If the second operand is an immedieate, this is an indirect value.
|
||||
// If the second operand is an immediate, this is an indirect value.
|
||||
if (DVInsn->getOperand(1).isImm()) {
|
||||
MachineLocation Location(RegOp.getReg(), DVInsn->getOperand(1).getImm());
|
||||
addVariableAddress(*DV, VariableDie, Location);
|
||||
|
|
Loading…
Reference in New Issue