[all-commits] [llvm/llvm-project] 3580a4: [GWP-ASan] Move random-related code in the allocat...
Kostya Kortchinsky via All-commits
all-commits at lists.llvm.org
Thu Oct 22 13:56:54 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 3580a45014e90a9895cc2dec28ab2e7f78c47470
https://github.com/llvm/llvm-project/commit/3580a45014e90a9895cc2dec28ab2e7f78c47470
Author: Kostya Kortchinsky <kostyak at google.com>
Date: 2020-10-22 (Thu, 22 Oct 2020)
Changed paths:
M compiler-rt/lib/gwp_asan/CMakeLists.txt
M compiler-rt/lib/gwp_asan/guarded_pool_allocator.cpp
M compiler-rt/lib/gwp_asan/guarded_pool_allocator.h
M compiler-rt/lib/gwp_asan/options.inc
M compiler-rt/lib/gwp_asan/platform_specific/guarded_pool_allocator_posix.cpp
R compiler-rt/lib/gwp_asan/random.cpp
R compiler-rt/lib/gwp_asan/random.h
Log Message:
-----------
[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
More information about the All-commits
mailing list