Fix undefined behavior in AppleObjCRuntimeV2 where we were left shifting a signed value.
rdar://91242879
Differential D123098
[lldb] Fix undefined behavior: left shift of negative value JDevlieghere on Apr 4 2022, 4:20 PM. Authored by
Details Fix undefined behavior in AppleObjCRuntimeV2 where we were left shifting a signed value. rdar://91242879
Diff Detail
Event TimelineComment Actions Note, in C++20 this was made well-defined see godbolt the paper that did this was P0907R4 Signed Integers are Two’s Complement |