[DWARF} Use LLVM's debug line parser in LLDB.
authorJonas Devlieghere <jonas@devlieghere.com>
Tue, 13 Aug 2019 19:51:51 +0000 (19:51 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Tue, 13 Aug 2019 19:51:51 +0000 (19:51 +0000)
commit235339357d3c2cf454e59a994686b45f8190671f
tree5dcf38fa81a4720b9dc24c508e9e4d3e56d5e52c
parentbddab07d4a219642e70b6ab786ee8c54c8108968
[DWARF} Use LLVM's debug line parser in LLDB.

The line number table header was substantially revised in DWARF 5 and is
not fully supported by LLDB's current debug line implementation.

This patch replaces the LLDB debug line parser with its counterpart in
LLVM. This was possible because of the limited contact surface between
the code to parse the DWARF debug line section and the rest of LLDB.

We pay a small cost in terms of performance and memory usage. This is
something we plan to address in the near future.

Differential revision: https://reviews.llvm.org/D62570

llvm-svn: 368742
lldb/include/lldb/Core/FileSpecList.h
lldb/include/lldb/Symbol/CompileUnit.h
lldb/source/Plugins/SymbolFile/DWARF/CMakeLists.txt
lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp [deleted file]
lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.h [deleted file]
lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
lldb/source/Symbol/CompileUnit.cpp