mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-08 19:36:02 +00:00
Do not emit line number entries for unknown debug values.
This fixes recent regression in store.exp from gdb testsuite. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104524 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c7cf10c97e
commit
295cdf8b82
@ -2195,6 +2195,9 @@ void DwarfDebug::beginScope(const MachineInstr *MI) {
|
||||
if (!DV.Verify()) return;
|
||||
if (DV.getTag() != dwarf::DW_TAG_arg_variable)
|
||||
LocalVar = true;
|
||||
// Ignore Undef values.
|
||||
if (MI->getOperand(0).isReg() && !MI->getOperand(0).getReg())
|
||||
LocalVar = false;
|
||||
}
|
||||
|
||||
MCSymbol *Label = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user