[all-commits] [llvm/llvm-project] 1271cd: [DebugInfo][test] Adjust line table unit length to...

James Henderson via All-commits all-commits at lists.llvm.org
Mon Feb 3 04:17:11 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1271cde47456a1201c085d0402a351f722a96f2d
      https://github.com/llvm/llvm-project/commit/1271cde47456a1201c085d0402a351f722a96f2d
  Author: James Henderson <james.henderson at sony.com>
  Date:   2020-02-03 (Mon, 03 Feb 2020)

  Changed paths:
    M llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp
    M llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp

  Log Message:
  -----------
  [DebugInfo][test] Adjust line table unit length to account for contents

Previously, if a debug line Prologue was created via
createBasicPrologue, its TotalLength field did not account for any
contents in the table itself. This change fixes this issue.

Reviewed by: probinson

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




More information about the All-commits mailing list