aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2021-05-19 21:35:24 +0200
committerRaphael Isemann <teemperor@gmail.com>2021-05-19 21:37:10 +0200
commit4b074b49be206306330076b9fa40632ef1960823 (patch)
tree38256de48b446afddc5f691d3be46e068101b754 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent50be48b0f3c884a87ddf19c7c51abcab035c1efb (diff)
downloadllvm-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