[all-commits] [llvm/llvm-project] 4b074b: [lldb] Fix UB in half2float and add some more tests.
Raphael Isemann via All-commits
all-commits at lists.llvm.org
Wed May 19 12:37:48 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4b074b49be206306330076b9fa40632ef1960823
https://github.com/llvm/llvm-project/commit/4b074b49be206306330076b9fa40632ef1960823
Author: Raphael Isemann <teemperor at gmail.com>
Date: 2021-05-19 (Wed, 19 May 2021)
Changed paths:
M lldb/source/Core/DumpDataExtractor.cpp
M lldb/unittests/Core/DumpDataExtractorTest.cpp
Log Message:
-----------
[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.
More information about the All-commits
mailing list