[all-commits] [llvm/llvm-project] 6f55b5: [DWARFDebugLine] Use truncating data extractors fo...

Pavel Labath via All-commits all-commits at lists.llvm.org
Wed Jun 10 07:13:17 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f55b5a101d95b1049643f87a6572b36d6b4b44c
      https://github.com/llvm/llvm-project/commit/6f55b5a101d95b1049643f87a6572b36d6b4b44c
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2020-06-10 (Wed, 10 Jun 2020)

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

  Log Message:
  -----------
  [DWARFDebugLine] Use truncating data extractors for prologue parsing

Summary:
This makes the code easier to reason about, as it will behave the same
way regardless of whether there is any more data coming after the
presumed end of the prologue.

Reviewers: jhenderson, dblaikie, probinson, ikudrin

Subscribers: hiraditya, MaskRay, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list