Skip to content

Commit 17d24ca

Browse files
committed
using if 0
1 parent b26ae4d commit 17d24ca

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -582,9 +582,11 @@ void DWARFDebugLine::ParsingState::appendRowToMatrix() {
582582
if (Row.EndSequence) {
583583
// Record the end of instruction sequence.
584584
Sequence.HighPC = Row.Address.Address;
585+
#if 0
585586
// Proposed change, without this the added test will fail. With this
586-
// GSYMTest/TestDWARFNoLines will fail Sequence.HighPC = Row.Address.Address
587-
// + LineTable->Prologue.MinInstLength
587+
// GSYMTest/TestDWARFNoLines will fail
588+
Sequence.HighPC = Row.Address.Address + LineTable->Prologue.MinInstLength;
589+
#endif
588590
Sequence.LastRowIndex = RowNumber + 1;
589591
Sequence.SectionIndex = Row.Address.SectionIndex;
590592
if (Sequence.isValid())

0 commit comments

Comments
 (0)