commit | be2d522600545fc394958fff5ac20807cfb82b7e | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Wed Aug 26 10:40:00 2015 -0700 |
committer | Nick Kralevich <nnk@google.com> | Wed Aug 26 10:40:00 2015 -0700 |
tree | 19d219c5e27c051baa018d5dbadeab4a1b55be2e | |
parent | db24c3872245498c3333865d6f124c697cf71486 [diff] |
libcutils: cleanups for -fsanitize=integer Hash functions rely on overflow behavior, so whitelist them. ATRACE_TAG_NOT_READY: use an unsigned constant when shifting bits. Otherwise, the value overflows on shift. The users of this constant assign it to a uint64_t variable. Change-Id: I21c437ce2083525e906c3ead3259ec34a1ef4b66