[DWARFDebugLine] Use new DWARFDataExtractor::getInitialLength
authorPavel Labath <pavel@labath.sk>
Fri, 14 Feb 2020 14:41:38 +0000 (15:41 +0100)
committerPavel Labath <pavel@labath.sk>
Mon, 2 Mar 2020 10:14:29 +0000 (11:14 +0100)
commitd978656fd0612d81b7bf84fc7e36e5b70592c07d
treeb99595212c609717fd55ec8ebc4e619e23b44cb1
parentb52355f8a196b5040dc2e42870bf8c459306cfaa
[DWARFDebugLine] Use new DWARFDataExtractor::getInitialLength

Summary:
The error messages change somewhat, but I believe the overall
informational value remains unchanged.

Reviewers: jhenderson, dblaikie, ikudrin

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D75116
llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
llvm/test/tools/llvm-dwarfdump/X86/debug_line_dwarf64_large_table.s [new file with mode: 0644]
llvm/test/tools/llvm-dwarfdump/X86/debug_line_invalid.test
llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp