[all-commits] [llvm/llvm-project] c6ed1f: [DebugInfo] Dump raw data in a case of decoding er...

Igor Kudrin via All-commits all-commits at lists.llvm.org
Fri May 8 20:15:56 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c6ed1fcf245b858731b242fcae253260b3e850a5
      https://github.com/llvm/llvm-project/commit/c6ed1fcf245b858731b242fcae253260b3e850a5
  Author: Igor Kudrin <ikudrin at accesssoftek.com>
  Date:   2020-05-09 (Sat, 09 May 2020)

  Changed paths:
    M llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp
    M llvm/test/DebugInfo/X86/DW_OP_call_ref_unexpected.s
    M llvm/test/tools/llvm-dwarfdump/X86/verify_broken_exprloc.s

  Log Message:
  -----------
  [DebugInfo] Dump raw data in a case of decoding error of an expression.

It looks like that was an initial intention, but some code paths in
`DWARFExpression::Operation::extract()` did not initialize `EndOffset`
properly.

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




More information about the All-commits mailing list