[PATCH] D64544: [DWAF] Add more error handling to debug line parser.

Jonas Devlieghere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 10 18:59:22 PDT 2019


JDevlieghere created this revision.
JDevlieghere added reviewers: dblaikie, wolfgangp, probinson.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.

This patch exnteds the error handling in the debug line parser to get rid of the existing MD5 assertion. I want to reuse the debug line parser from LLVM in LLDB where we cannot crash on invalid input.


Repository:
  rL LLVM

https://reviews.llvm.org/D64544

Files:
  llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
  llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64544.209113.patch
Type: text/x-patch
Size: 8975 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190711/53ac5515/attachment.bin>


More information about the llvm-commits mailing list