We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1d3366 commit b26ae4dCopy full SHA for b26ae4d
llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
@@ -581,7 +581,10 @@ void DWARFDebugLine::ParsingState::appendRowToMatrix() {
581
LineTable->appendRow(Row);
582
if (Row.EndSequence) {
583
// Record the end of instruction sequence.
584
- Sequence.HighPC = Row.Address.Address + LineTable->Prologue.MinInstLength;
+ 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
588
Sequence.LastRowIndex = RowNumber + 1;
589
Sequence.SectionIndex = Row.Address.SectionIndex;
590
if (Sequence.isValid())
0 commit comments