llvm-project/lldb/test/Shell
Pavel Labath 773b849c10 [lldb/DWARF] Switch to llvm location list parser
Summary:
This patch deletes the lldb location list parser and teaches the
DWARFExpression class to use the parser in llvm instead. I have
centralized all the places doing the parsing into a single
GetLocationExpression function.

In theory the the actual location list parsing should be covered by llvm
tests, and this glue code by our existing location list tests, but since
we don't have that many location list tests, I've tried to extend the
coverage a bit by adding some explicit dwarf5 loclist handling and a
test of the dumping code.

For DWARF4 location lists this should be NFC (modulo small differences
in error handling which should only show up on invalid inputs). In case
of DWARF5, this fixes various missing bits of functionality, most
notably, the lack of support for DW_LLE_offset_pair.

Reviewers: JDevlieghere, aprantl, clayborg

Subscribers: lldb-commits, dblaikie

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D71003
2019-12-09 13:39:10 +01:00
..
Breakpoint BreakpointDummyOptionGroup was using g_breakpoint_modify_options rather than g_breakpoint_dummy_options 2019-11-07 14:25:04 -08:00
BuildScript Re-land "[test] Split LLDB tests into API, Shell & Unit" 2019-10-09 19:22:02 +00:00
Commands [lldb/lit] Introduce %clang_host substitutions 2019-10-31 10:40:37 +01:00
Driver [lldb/lit] Introduce %clang_host substitutions 2019-10-31 10:40:37 +01:00
ExecControl/StopHook [lldb/lit] Introduce %clang_host substitutions 2019-10-31 10:40:37 +01:00
Expr [lldb/lit] Introduce %clang_host substitutions 2019-10-31 10:40:37 +01:00
Heap [lldb/lit] Introduce %clang_host substitutions 2019-10-31 10:40:37 +01:00
Host [lldb/lit] Introduce %clang_host substitutions 2019-10-31 10:40:37 +01:00
Minidump [LLDB] [ARM] Use r11 as frame pointer on Windows on ARM 2019-11-29 16:06:17 +02:00
ObjectFile [LLDB] [test] Add a missing "REQUIRES: arm" line 2019-11-28 13:18:15 +02:00
Process [lldb/lit] Introduce %clang_host substitutions 2019-10-31 10:40:37 +01:00
Python crashlog.py: Improve regular expressions 2019-11-07 10:52:06 -08:00
Quit Re-land "[test] Split LLDB tests into API, Shell & Unit" 2019-10-09 19:22:02 +00:00
Register [lldb/lit] Introduce %clang_host substitutions 2019-10-31 10:40:37 +01:00
Reproducer [lldb/Reproducer] Disable test on Windows to unblock the bot. 2019-12-06 16:17:31 -08:00
Settings [lldb/lit] Introduce %clang_host substitutions 2019-10-31 10:40:37 +01:00
SymbolFile [lldb/DWARF] Switch to llvm location list parser 2019-12-09 13:39:10 +01:00
Unwind [lldb/lit] Introduce %clang_host substitutions 2019-10-31 10:40:37 +01:00
Watchpoint [lldb] [Process/NetBSD] Copy watchpoints to newly-created threads 2019-11-25 20:11:59 +01:00
helper [lldb/lit] Introduce %clang_host substitutions 2019-10-31 10:40:37 +01:00
.clang-format [test] Add a .clang-format file for the shell test. 2019-10-17 21:23:35 +00:00
CMakeLists.txt [CMake] Split logic across test suite subdirectories (NFC) 2019-10-24 10:58:22 -07:00
lit-lldb-init.in Re-land "[test] Split LLDB tests into API, Shell & Unit" 2019-10-09 19:22:02 +00:00
lit.cfg.py [lldb/Reproducers] Propagate LLDB_CAPTURE_REPRODUCER to the test suite 2019-12-04 16:49:11 -08:00
lit.site.cfg.py.in [test] Use a different module cache for Shell and API tests. 2019-10-10 17:27:09 +00:00