diff options
author | Andrew Browne <browneee@google.com> | 2022-02-07 12:21:30 -0800 |
---|---|---|
committer | Andrew Browne <browneee@google.com> | 2022-02-07 13:55:15 -0800 |
commit | 77f5a3fbba7a5405085553d14df1aac174235dfc (patch) | |
tree | 8ed489e70c9703de175000eff0ed94ec86e1ca7b /llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp | |
parent | 6472421840885a0129f42146bdeb5d416652b9f4 (diff) | |
download | llvm-77f5a3fbba7a5405085553d14df1aac174235dfc.zip llvm-77f5a3fbba7a5405085553d14df1aac174235dfc.tar.gz llvm-77f5a3fbba7a5405085553d14df1aac174235dfc.tar.bz2 |
[Bitstream] Temporarily disable UBSan for invalid bitcode tests. This fixes failing sanitizer buildbots.
Tests added by
https://github.com/llvm/llvm-project/commit/3c86642edd28f1ce970882edaba8dce468ec7401
https://github.com/llvm/llvm-project/commit/f4fca0fbb052e55935b483c8955c440b59511ce8
cause existing code to exhibit UB:
https://github.com/llvm/llvm-project/blob/b4c6d1bb379192cb5b712fda9f60cd105f21194f/llvm/include/llvm/Bitstream/BitstreamReader.h#L244
llvm/include/llvm/Bitstream/BitstreamReader.h:244:51:
runtime error: shift exponent 35 is too large for 32-bit type 'unsigned int'
Hitting the UBSan error before the expected error causes the test to fail under UBSan:
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D119182
Diffstat (limited to 'llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp')
0 files changed, 0 insertions, 0 deletions