[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 21 09:33:12 PST 2025
================
@@ -913,6 +916,9 @@ Error DWARFDebugLine::LineTable::parse(
// followed.
EmitRow();
State.resetRowAndSequence();
+ // Cursor now points to right after the end_sequence opcode - so points
+ // to the start of the next sequence - if one exists.
+ LineTableSeqOffset = Cursor.tell();
----------------
clayborg wrote:
We can add a `uint64_t Offset` to `DWARFDebugLine::ParsingState::resetRowAndSequence(uint64_t Offset);` And call this before the while loop.
https://github.com/llvm/llvm-project/pull/123391
More information about the llvm-commits
mailing list