diff options
author | Philip Reames <listmail@philipreames.com> | 2019-03-12 20:15:05 +0000 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2019-03-12 20:15:05 +0000 |
commit | 9b6b4fac83a747a2b6c870ddc64a51794d886bad (patch) | |
tree | f7562082b5db119aedef90c5c66b3b5b4f2e9898 /lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py | |
parent | a470a13a7063e8c5318fe4f5ba864320092c6c7b (diff) | |
download | bcm5719-llvm-9b6b4fac83a747a2b6c870ddc64a51794d886bad.tar.gz bcm5719-llvm-9b6b4fac83a747a2b6c870ddc64a51794d886bad.zip |
[SROA] Fix a crash when trying to convert a memset to an non-integral pointer type
The included test case currently crashes on tip of tree. Rather than adding a bailout, I chose to restructure the code so that the existing helper function could be used. Given that, the majority of the diff is NFC-ish, but the key difference is that canConvertValue returns false when only one side is a non-integral pointer.
Thanks to Cherry Zhang for the test case.
Differential Revision: https://reviews.llvm.org/D59000
llvm-svn: 355962
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py')
0 files changed, 0 insertions, 0 deletions