Skip to content

Commit b26ae4d

Browse files
committed
Comment out my change
1 parent d1d3366 commit b26ae4d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,10 @@ void DWARFDebugLine::ParsingState::appendRowToMatrix() {
581581
LineTable->appendRow(Row);
582582
if (Row.EndSequence) {
583583
// Record the end of instruction sequence.
584-
Sequence.HighPC = Row.Address.Address + LineTable->Prologue.MinInstLength;
584+
Sequence.HighPC = Row.Address.Address;
585+
// 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
585588
Sequence.LastRowIndex = RowNumber + 1;
586589
Sequence.SectionIndex = Row.Address.SectionIndex;
587590
if (Sequence.isValid())

0 commit comments

Comments
 (0)