[llvm] [DebugInfo][DWARF] Utilize DW_AT_LLVM_stmt_sequence attr in line table lookups (PR #123391)
Greg Clayton via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 28 15:14:04 PST 2025
================
@@ -565,9 +566,12 @@ DWARFDebugLine::ParsingState::ParsingState(
resetRowAndSequence();
}
-void DWARFDebugLine::ParsingState::resetRowAndSequence() {
+void DWARFDebugLine::ParsingState::resetRowAndSequence(uint64_t Offset) {
Row.reset(LineTable->Prologue.DefaultIsStmt);
Sequence.reset();
+ if (Offset != UINT64_MAX) {
+ Sequence.SetSequenceOffset(Offset);
+ }
----------------
clayborg wrote:
just should be:
```
Sequence.SetSequenceOffset(Offset);
```
https://github.com/llvm/llvm-project/pull/123391
More information about the llvm-commits
mailing list