aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorDavid Sherwood <david.sherwood@arm.com>2020-06-02 14:44:24 +0100
committerDavid Sherwood <david.sherwood@arm.com>2020-06-04 07:58:24 +0100
commita3e3986be122bd1cdebe7f7f69c3d1c4c22c4690 (patch)
treecca006b8fb61c7682d71d698abc320b5c2c35194 /llvm/unittests/Support/VirtualFileSystemTest.cpp
parent8d74de9de6d6cca552d7de7d0bfd36b6dd7d58dc (diff)
downloadllvm-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