[Lldb-commits] [PATCH] D123098: [lldb] Fix undefined behavior: left shift of negative value

Shafik Yaghmour via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Apr 4 20:54:02 PDT 2022


shafik added a comment.

Note, in C++20 this was made well-defined see godbolt <https://godbolt.org/z/e4P1cqd3K> the paper that did this was P0907R4 Signed Integers are Two’s Complement <http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0907r4.html>


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123098/new/

https://reviews.llvm.org/D123098



More information about the lldb-commits mailing list