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.
Paths
| Differential D89984
[GWP-ASan] Move random-related code in the allocator (redo) ClosedPublic Authored by cryptoad on Oct 22 2020, 1:40 PM.
Details Summary This is a redo of D89908, which triggered some -Werror=conversion This CL adds to the original one a 31-bit mask variable that is used
Diff Detail
Unit TestsFailed
Event TimelineThis revision is now accepted and ready to land.Oct 22 2020, 1:42 PM Comment Actions
Thank you Nikita! This revision was landed with ongoing or failed builds.Oct 22 2020, 1:56 PM Closed by commit rG3580a45014e9: [GWP-ASan] Move random-related code in the allocator (redo) (authored by cryptoad). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 300094 compiler-rt/lib/gwp_asan/CMakeLists.txt
compiler-rt/lib/gwp_asan/guarded_pool_allocator.h
compiler-rt/lib/gwp_asan/guarded_pool_allocator.cpp
compiler-rt/lib/gwp_asan/options.inc
compiler-rt/lib/gwp_asan/platform_specific/guarded_pool_allocator_posix.cpp
compiler-rt/lib/gwp_asan/random.h
compiler-rt/lib/gwp_asan/random.cpp
|
clang-tidy: error: "Define GWP_ASAN_OPTION prior to including this file!" [clang-diagnostic-error]
not useful