commit | 7155761857beb7a82840cb8795369966d3e656eb | [log] [tgz] |
---|---|---|
author | Kostya Kortchinsky <kostyak@google.com> | Thu Oct 22 13:40:12 2020 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Oct 29 11:47:48 2020 -0700 |
tree | 365d10bae0f590110d7b3fbbbcc92f00ef8bbc28 | |
parent | 7edfc998e9f00e283ab4f7af79cf5b68608d554d [diff] |
[GWP-ASan] Move random-related code in the allocator (redo) This is a redo of D89908, which triggered some `-Werror=conversion` errors with GCC due to assignments to the 31-bit variable. This CL adds to the original one a 31-bit mask variable that is used at every assignment to silence the warning. Differential Revision: https://reviews.llvm.org/D89984 GitOrigin-RevId: 3580a45014e90a9895cc2dec28ab2e7f78c47470