mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-28 08:37:41 +00:00
A DBG_VALUE that truncates a range does not start another dbg value range.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132433 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c432907eca
commit
4ada1d7910
@ -1411,6 +1411,11 @@ DwarfDebug::collectVariableInfo(const MachineFunction *MF,
|
||||
const MachineInstr *Begin = *HI;
|
||||
assert(Begin->isDebugValue() && "Invalid History entry");
|
||||
|
||||
// Check if DBG_VALUE is truncating a range.
|
||||
if (Begin->getNumOperands() > 1 && Begin->getOperand(0).isReg()
|
||||
&& !Begin->getOperand(0).getReg())
|
||||
continue;
|
||||
|
||||
// Compute the range for a register location.
|
||||
const MCSymbol *FLabel = getLabelBeforeInsn(Begin);
|
||||
const MCSymbol *SLabel = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user