summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-09-04 10:09:12 +0000
committerPavel Labath <pavel@labath.sk>2019-09-04 10:09:12 +0000
commit88b4e28a679a5aaa14ef41a1901d3d24ddd8946b (patch)
tree24dd2a1e89404c948de702d2710aacddccb19081 /lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py
parentaae9972a36870789f82208ffe4d24508c9a0efbb (diff)
downloadbcm5719-llvm-88b4e28a679a5aaa14ef41a1901d3d24ddd8946b.tar.gz
bcm5719-llvm-88b4e28a679a5aaa14ef41a1901d3d24ddd8946b.zip
DWARF: Fix a regression in location list dumping
Summary: While fixing the handling of some error cases, r370363 introduced new problems -- assertion failures due to unchecked errors (my excuse is that a very early version of that patch used Optional<T> instead of Expected). This patch adds proper handling of parsing errors encountered when dumping location lists from inside DWARF DIEs, and adds a bunch of additional tests. I reorder the arguments of the location list dumping functions to make them consistent, and also be able to dump the two kinds of location lists generically. Reviewers: JDevlieghere, dblaikie, probinson Subscribers: aprantl, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D67102 llvm-svn: 370868
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud