diff options
author | Sanjay Patel <spatel@rotateright.com> | 2020-01-14 11:47:22 -0500 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2020-01-14 11:52:38 -0500 |
commit | c8a14c2d4773841daa303736332d0038ead6f36a (patch) | |
tree | ead0d593953d63f6f4cd44119ec5e3ef3d0504ff /lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py | |
parent | cfd366ba74c566038c6f417da9c9becc321fd737 (diff) | |
download | bcm5719-llvm-c8a14c2d4773841daa303736332d0038ead6f36a.tar.gz bcm5719-llvm-c8a14c2d4773841daa303736332d0038ead6f36a.zip |
[IR] fix potential crash in Constant::isElementWiseEqual()
There's only one user of this API currently, and it seems
impossible that it would compare values with different types.
But that's not true in general, so we need to make sure the
types are the same.
As denoted by the FIXME comments, we will also crash on FP
values. That's what brought me here, but we can make that a
follow-up patch.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py')
0 files changed, 0 insertions, 0 deletions