[all-commits] [llvm/llvm-project] e8bcf4: [DebugInfo] Add use of truncating data extractor t...

James Henderson via All-commits all-commits at lists.llvm.org
Mon Jun 1 04:34:19 PDT 2020


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

  Changed paths:
    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

  Log Message:
  -----------
  [DebugInfo] Add use of truncating data extractor to debug line parsing

This will ensure that nothing can ever start parsing data from a future
sequence and part-read data will be returned as 0 instead.

Reviewed by: aprantl, labath

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




More information about the All-commits mailing list