diff options
author | Kostya Kortchinsky <kostyak@google.com> | 2020-10-22 13:40:12 -0700 |
---|---|---|
committer | Kostya Kortchinsky <kostyak@google.com> | 2020-10-22 13:56:24 -0700 |
commit | 3580a45014e90a9895cc2dec28ab2e7f78c47470 (patch) | |
tree | 1fa14af6bb34c3b9f9f09ba9eee6b74b6b91e7b8 /clang/lib/Basic/SourceManager.cpp | |
parent | c0e8c94373b4e97d2eecc53bb16d22e085b73948 (diff) | |
download | llvm-3580a45014e90a9895cc2dec28ab2e7f78c47470.zip llvm-3580a45014e90a9895cc2dec28ab2e7f78c47470.tar.gz llvm-3580a45014e90a9895cc2dec28ab2e7f78c47470.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions