diff options
author | Raphael Isemann <teemperor@gmail.com> | 2021-05-19 21:35:24 +0200 |
---|---|---|
committer | Raphael Isemann <teemperor@gmail.com> | 2021-05-19 21:37:10 +0200 |
commit | 4b074b49be206306330076b9fa40632ef1960823 (patch) | |
tree | 38256de48b446afddc5f691d3be46e068101b754 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 50be48b0f3c884a87ddf19c7c51abcab035c1efb (diff) | |
download | llvm-4b074b49be206306330076b9fa40632ef1960823.zip llvm-4b074b49be206306330076b9fa40632ef1960823.tar.gz llvm-4b074b49be206306330076b9fa40632ef1960823.tar.bz2 |
[lldb] Fix UB in half2float and add some more tests.
The added DumpDataExtractorTest uncovered that this is lshifting a negative
integer which upsets ubsan and breaks the sanitizer bot. This patch just
changes the variable we shift to be unsigned and adds a bunch of tests to make
sure this function does what it promises.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions