summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/support/gmodules.py
diff options
context:
space:
mode:
authorAlexander Shaposhnikov <shal1t712@gmail.com>2017-10-23 23:46:06 +0000
committerAlexander Shaposhnikov <shal1t712@gmail.com>2017-10-23 23:46:06 +0000
commit9a21d28b5da018ae94e8aa9ecae81f7c6a7cf7b8 (patch)
treea1a578406aca3307b14eb36386f42aef76704e9f /lldb/packages/Python/lldbsuite/support/gmodules.py
parent0e88118dd7e741fcbf25d63297f12dc8a1882558 (diff)
downloadbcm5719-llvm-9a21d28b5da018ae94e8aa9ecae81f7c6a7cf7b8.tar.gz
bcm5719-llvm-9a21d28b5da018ae94e8aa9ecae81f7c6a7cf7b8.zip
[analyzer] Fix handling of labels in getLValueElement
In getLValueElement Base may represent the address of a label (as in the newly-added test case), in this case it's not a loc::MemRegionVal and Base.castAs<loc::MemRegionVal>() triggers an assert, this diff makes getLValueElement return UnknownVal instead. Differential revision: https://reviews.llvm.org/D39174 llvm-svn: 316399
Diffstat (limited to 'lldb/packages/Python/lldbsuite/support/gmodules.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud