[all-commits] [llvm/llvm-project] 5754a6: [DataExtractor] Improve error message when we run ...

Pavel Labath via All-commits all-commits at lists.llvm.org
Fri Feb 28 00:32:33 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5754a61e57efaa9bec8ad8ea8589a73b27edb0a8
      https://github.com/llvm/llvm-project/commit/5754a61e57efaa9bec8ad8ea8589a73b27edb0a8
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2020-02-28 (Fri, 28 Feb 2020)

  Changed paths:
    M llvm/lib/Support/DataExtractor.cpp
    M llvm/test/DebugInfo/X86/dwarfdump-debug-loc-error-cases2.s
    M llvm/test/DebugInfo/X86/dwarfdump-debug-loclists-error-cases2.s
    M llvm/unittests/DebugInfo/DWARF/DWARFDataExtractorTest.cpp
    M llvm/unittests/DebugInfo/DWARF/DWARFDieTest.cpp

  Log Message:
  -----------
  [DataExtractor] Improve error message when we run off the end of the buffer

Summary: Include the offset at which this happened.

Reviewers: dblaikie, jhenderson

Subscribers: hiraditya, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list