[llvm] [DebugInfo][DWARF] Utilize DW_AT_LLVM_stmt_sequence attr in line table lookups (PR #123391)

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 3 19:40:17 PST 2025


================
@@ -224,6 +227,8 @@ class DWARFDebugLine {
       return SectionIndex == PC.SectionIndex &&
              (LowPC <= PC.Address && PC.Address < HighPC);
     }
+
+    void SetSequenceOffset(uint64_t Offset) { StmtSeqOffset = Offset; }
----------------
dwblaikie wrote:

This is a struct, the members are all public - no need for a setter like this, just access/set the member directly?

https://github.com/llvm/llvm-project/pull/123391


More information about the llvm-commits mailing list