diff options
| author | Raphael Isemann <teemperor@gmail.com> | 2021-05-24 15:01:15 +0200 |
|---|---|---|
| committer | Raphael Isemann <teemperor@gmail.com> | 2021-05-24 15:23:32 +0200 |
| commit | 42a9c0c80c23fa0de3e3b00fef0dfa6d85e18e55 (patch) | |
| tree | 43aa1cf0687d937fd8d75b3ac648dd941ac067b4 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 5ccc79dc38b2df18cca5a9b4d66dcd4603f948e9 (diff) | |
[lldb] Reland "Fix UB in half2float" to fix the ubsan bot.
This relands part of the UB fix in 4b074b49be206306330076b9fa40632ef1960823.
The original commit also added some additional tests that uncovered some
other issues (see D102845). I landed all the passing tests in
48780527dd6820698f3537f5ebf76499030ee349 and this patch is now just fixing
the UB in half2float. See D102846 for a proposed rewrite of the function.
Original commit message:
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.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
