[all-commits] [llvm/llvm-project] 60cb33: [DebugInfo] Fix verbose printing of rows added via...

James Henderson via All-commits all-commits at lists.llvm.org
Thu Dec 19 04:55:16 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 60cb33c9b8543dee1630410c13679088d0569d03
      https://github.com/llvm/llvm-project/commit/60cb33c9b8543dee1630410c13679088d0569d03
  Author: James Henderson <james.henderson at sony.com>
  Date:   2019-12-19 (Thu, 19 Dec 2019)

  Changed paths:
    M llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
    A llvm/test/tools/llvm-dwarfdump/X86/debug-line-dw-lne-end-sequence.s

  Log Message:
  -----------
  [DebugInfo] Fix verbose printing of rows added via DW_LNE_end_sequence

The debug line verbose printing was printing the wrong values for rows
added via DW_LNE_end_sequence, because the row was being printed AFTER
its state had been reset following it being appended to the line table.
This patch fixes this issue by printing the row before appending it.

Reviewers: dblaikie, MaskRay

Differential Revision: https://reviews.llvm.org/D71664




More information about the All-commits mailing list