forked from OSchip/llvm-project
773b849c10
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 |
||
---|---|---|
.. | ||
Breakpoint | ||
BuildScript | ||
Commands | ||
Driver | ||
ExecControl/StopHook | ||
Expr | ||
Heap | ||
Host | ||
Minidump | ||
ObjectFile | ||
Process | ||
Python | ||
Quit | ||
Register | ||
Reproducer | ||
Settings | ||
SymbolFile | ||
Unwind | ||
Watchpoint | ||
helper | ||
.clang-format | ||
CMakeLists.txt | ||
lit-lldb-init.in | ||
lit.cfg.py | ||
lit.site.cfg.py.in |