[Lldb-commits] [PATCH] D73913: [lldb/DataExtractor] Fix UB shift in GetMaxS64Bitfield
Shafik Yaghmour via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Feb 3 12:07:54 PST 2020
shafik added inline comments.
================
Comment at: lldb/source/Utility/DataExtractor.cpp:610
int64_t sval64 = GetMaxS64(offset_ptr, size);
if (bitfield_bit_size > 0) {
int32_t lsbcount = bitfield_bit_offset;
----------------
We could do an early exit if `bitfield_bit_size` is zero.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73913/new/
https://reviews.llvm.org/D73913
More information about the lldb-commits
mailing list