diff options
author | David Sherwood <david.sherwood@arm.com> | 2020-06-02 14:44:24 +0100 |
---|---|---|
committer | David Sherwood <david.sherwood@arm.com> | 2020-06-04 07:58:24 +0100 |
commit | a3e3986be122bd1cdebe7f7f69c3d1c4c22c4690 (patch) | |
tree | cca006b8fb61c7682d71d698abc320b5c2c35194 /llvm/unittests/Support/VirtualFileSystemTest.cpp | |
parent | 8d74de9de6d6cca552d7de7d0bfd36b6dd7d58dc (diff) | |
download | llvm-a3e3986be122bd1cdebe7f7f69c3d1c4c22c4690.zip llvm-a3e3986be122bd1cdebe7f7f69c3d1c4c22c4690.tar.gz llvm-a3e3986be122bd1cdebe7f7f69c3d1c4c22c4690.tar.bz2 |
[SVE] Fix ubsan issues in DecodeIITType
In an earlier patch I removed the need for
IITDescriptor::ScalableVecArgument, which involved changing
DecodeIITType to pull out the last IIT_Info from the list. However,
it turns out this is unsafe and causes ubsan failures. I've tried to
fix this a different way by simply passing the last IIT_Info as an
additional argument to DecodeIITType.
Differential Revision: https://reviews.llvm.org/D81057
Diffstat (limited to 'llvm/unittests/Support/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions