[all-commits] [llvm/llvm-project] 9782c9: [DebugInfo] Print line table extended opcode bytes...

James Henderson via All-commits all-commits at lists.llvm.org
Tue Jun 23 02:04:36 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9782c922cb218cd39b7510be469f61f586414cb7
      https://github.com/llvm/llvm-project/commit/9782c922cb218cd39b7510be469f61f586414cb7
  Author: James Henderson <james.henderson at sony.com>
  Date:   2020-06-23 (Tue, 23 Jun 2020)

  Changed paths:
    M llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
    M llvm/test/tools/llvm-dwarfdump/X86/debug_line_invalid.test
    M llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp

  Log Message:
  -----------
  [DebugInfo] Print line table extended opcode bytes if parsing fails

Previously, if there was an error whilst parsing the operands of an
extended opcode, the operands would be treated as zero and printed. This
could potentially be slightly confusing. This patch changes the
behaviour to print the raw bytes instead.

Reviewed by: ikudrin

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




More information about the All-commits mailing list